Re: [PHP] authentication help

2001-10-25 Thread Kodrik
?php if($namethename and $passthepass) { tothis } else { dothat } -- 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]

[PHP] authentication help

2001-10-24 Thread Norman Zhang
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