Hi,

Would someone please give me a few pointers on how to generate a simple PHP
to check for user's name and password before directing to a directory?

e.g., I have a index.php with a form where I have action="login.php". How
would I write login.php to check username and password if I have them hard
coded in login.php and if authentication fails the user is directed back to
index.php? Is this safe?

Regards,
Norman


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to