note 9338 rejected and deleted from header by jmcastagnetto

From: Date: Sat, 28 Oct 2000 15:35:25 +0000
Subject: note 9338 rejected and deleted from header by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-7127@lists.php.net to get a copy of this message
i cannot get the variable "php_auth_user". my php source as following: <? $error401 = "disp.php"; $ok1="put.htm"; Header("WWW-Authenticate: Basic realm="ÒøºÓͬÈÊÍø""); Header("HTTP/1.0 401 Unauthorized"); if (empty($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm="ÒøºÓͬÈÊÍø""); Header("HTTP/1.0 401 Unauthorized"); include($error401); exit; } else { if($REMOTE_USER="axin" ) { echo 'welcome'; include($ok1); exit; } } but i cannot pass the certification.

« previous php.notes (#7127) next »