protecting a directory

From: Date: Sun, 14 Aug 2005 15:54:23 +0000
Subject: protecting a directory
Groups: php.general 
Request: Send a blank email to php-general+get-220600@lists.php.net to get a copy of this message
hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter passwod before giving the rights to view directory. is there any script like this.or can anybody help me out. thanks, Jenny.

« previous php.general (#220600) next »