I have Installed XAMPP for localserver. So i have installed some PHP script. Now there are some login procedure is there. Where i put the UserId and password , the Login procedure doesn't working. it returns back to the same page.i know the UserId and Password is correct. Now when i upload the same PHP script To my WebServer the same userID and password is working. i can now Login to the system. whats the problem?? can anybody help me. i think I need to configure the local PHP global variable. looking for your help.
It probably something to do with sessions.
Check that the session.save_path is valid.
Without showing us the code that handles the login verification, we can't really do much other than guess.
So... my guess is... semicolon!
HalfaBee wrote:It probably something to do with sessions. Check that the session.save_path is valid.
Yes.. i think you are correct. But Where to set the Session Path. Because I have checked the Script. on the Upper portion of the login page there is a function session_start();
How to change that??
It is in php.ini.
Normally in c:/windows, not sure about xampp's installation and where it locates php.ini.
Halfabee wrote:Normally in c:/windows
Normally in c:/windows
Eh, perhaps a few years ago, but moving any PHP-related files to a Windows/system directory has long since been deprecated.
heh, when was the last time I installed php on a windoze platform. <sigh>