authentication help

From: Date: Wed, 24 Oct 2001 22:10:12 +0000
Subject: authentication help
Groups: php.general 
Request: Send a blank email to php-general+get-72176@lists.php.net to get a copy of this message
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

« previous php.general (#72176) next »