RE: [PHP] Sessions to password protect directory?

From: Date: Fri, 23 Mar 2001 16:16:20 +0000
Subject: RE: [PHP] Sessions to password protect directory?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45308@lists.php.net to get a copy of this message
All you need is to add this into .htaccess php_value auto_prepend auth.php when any file under that directory is being accessed, auth.php will come on top, there - make your own script to pass-protect yourself.. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Kyutums [mailto:freemail@softhome.net] Sent: Friday, March 23, 2001 10:28 AM To: Php-General Subject: [PHP] Sessions to password protect directory? Good day to all! Before, I was able to password protect html and php files via a username and passowrd script which used sessions. Now, I need to password protect a folder (via .htaccess) that has images (for a family album thing). Can this be done via sessions (or even cookies)? I don't want to authenticate the user via forms and not via the pop-up that a browser presents when using an .htaccess file. Any scripts that already do this (password protect a directory)? Thanks for all your help. - Kyutums -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#45308) next »