note 9661 added to HTTP authentication with PHP

From: Date: Fri, 17 Nov 2000 11:09:04 +0000
Subject: note 9661 added to HTTP authentication with PHP
Groups: php.notes 
Request: Send a blank email to php-notes+get-7807@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. http://www.php.net/manual/features.http-auth.php

« previous php.notes (#7807) next »