RE: [PHP-WIN] Why I can't use header('HTTP/1.0 401 Unauthorized'); ???

From: Date: Thu, 20 Jul 2000 07:34:32 +0000
Subject: RE: [PHP-WIN] Why I can't use header('HTTP/1.0 401 Unauthorized'); ???
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1187@lists.php.net to get a copy of this message
At 10:38 AM 7/20/00 +1000, you wrote: >Coz, the fine print in...Chapter 16 says... >"The HTTP Authentication hooks in PHP are only available when it is running >as an Apache module and is hence not available in the CGI version. In an >Apache module PHP script, it is possible to use the Header() function to >send an "Authentication Required" message to the client browser..." That should also be pretty obvious since it's the web server that sends the status code back to the client.

« previous php.windows (#1187) next »