I’m having a bit of a problem with a php validation script for my login form on my webiste.
Im sure the problem may come as simple to some of you but ive been banging my head for a few hours on it and just cant figure it out. Help would be appreciated :-)
The login and validation work perfectly on my localhost. However, when i go to test on my remote server the validation gets stuck on the login_do page and when it should, infact, redirect me back to the page where the form is and tell me the outcome of the process. As in, were there any errors or was the registration sucessfull .
The errors are then returned on the page where the form is – for more usability via $_GET. Code is below:
if ($_GET == "EmailActivation")
echo " You have not yet activated your account";
if ($_GET == "IncorrectPasswordUsername")
echo " Password or username is incorrect";
if ($_GET == "NoSuchUser")
echo "Sorry, SkillsDen couldnt find you!";
if ($_GET == "NoInfoGiven")
echo "Please enter you login details!";
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".