PHP Security
| From: | Allen May | Date: | Thu, 13 Sep 2001 12:40:06 +0000 |
| Subject: | PHP Security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67192@lists.php.net to get a copy of this message | ||
I have been using the .htpasswd/.htaccess convention to authenticate our
3000 employees.
I want to move away from the .htpasswd/.htaccess convention and use a PHP
form to authenticate against the database.
I can create the PHP authentication page, no problem, but how do I check
authentication on the thousands of HTML pages I already have on the site?
For several reasons I don't want to do cookies. Can I set a session variable
in the PHP and conditionally check it with Javascript, if fail go to PHP
authentication form?
What is the javascript session variable function?
Thanks
-Allen