PHP Login help? new to PHP
Posted: Tue Nov 29, 2011 2:12 am
Hi, im creating a PHP login script in dreamweaver, using the User Authentication addon,
A quick question, when logging in it has an option for a seperate page for if the login fails, ie, if i fail to login, it will redirect to loginfail.php.
I want it to to display the text "Login Failed" or whatever, on the same page. Maybe using the ?echo function, im new to php.
Also, im trying to get it to display the users username when logged in, ie logged in as "USERNAME" or Welcome "USERNAME"
Thanks for your help!!
A quick question, when logging in it has an option for a seperate page for if the login fails, ie, if i fail to login, it will redirect to loginfail.php.
I want it to to display the text "Login Failed" or whatever, on the same page. Maybe using the ?echo function, im new to php.
Also, im trying to get it to display the users username when logged in, ie logged in as "USERNAME" or Welcome "USERNAME"
Thanks for your help!!