Login Page, Incorrect Login[SOLVED]
Moderator: General Moderators
Login Page, Incorrect Login[SOLVED]
After the user incorrectly types the username/password he is redirected back to the login page, but how do I display "Incorrect username/password" on that page?
Last edited by james3302 on Mon Jul 07, 2008 7:06 am, edited 1 time in total.
- Jasheppard
- Forum Newbie
- Posts: 24
- Joined: Tue Jun 17, 2008 11:44 pm
Re: Login Page, Incorrect Login
what i use is a status query so if the login failed, i just add &status=2 to the url and on the page i just have:
or
or
ect... ect...
Code: Select all
<?php if ($_GET["status"]==2) echo "Failed to login!"; ?>Code: Select all
<?php if ($_GET["status"]==3) echo "You have been banned!"; ?>Code: Select all
<?php if ($_GET["status"]==4) echo "You cannot login right now... due to server issues..."; ?>