Re: authentication comparing to /etc/passwd

From: Date: Wed, 04 Feb 2004 05:08:51 +0000
Subject: Re: authentication comparing to /etc/passwd
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176755@lists.php.net to get a copy of this message
Found this too: <? if(!isset($PHP_AUTH_USER)) { Header("WWW-authenticate: basic realm=\"$SID\""); Header("HTTP/1.0 401 Unauthorized"); $title="Login Instructions"; echo "<blockquote> You are not authorised to enter the site </blockquote> \n"; exit; } else { if (!($conn=ora_logon("$PHP_AUTH_USER@$SID",$PHP_AUTH_PW))) { Header("WWW-authenticate: basic realm=\"$SID\""); Header("HTTP/1.0 401 Unauthorized"); $title="Login Instructions"; echo "<blockquote> You are not authorised to enter the site </blockquote> \n"; exit; } } ?>

« previous php.general (#176755) next »