note 9661 deleted from HTTP authentication with PHP by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 02:28:50 +0000 |
| Subject: | note 9661 deleted from HTTP authentication with PHP by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9581@lists.php.net to get a copy of this message | ||
So the if(!isset($PHP_AUTH_USER)) line has to be outside of a function?..
I could not get the authetication into a function but could get it working otherwise no problems.
Using your approach should should solve the problem.