php5 automatically fills [PHP_AUTH_XX] on IIS

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174286 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-12-08 15:36:10 +00:00
parent 48c2cd4497
commit 0491ab6e63

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.40 $ -->
<!-- $Revision: 1.41 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@ -163,11 +163,11 @@
should be left unchecked.
</simpara>
<simpara>
Another limitation is if you're using the IIS module (ISAPI), you may not
use the <literal>PHP_AUTH_*</literal> variables but instead, the variable
<literal>HTTP_AUTHORIZATION</literal> is available. For example, consider
the following code: <literal>list($user, $pw) = explode(':',
base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));</literal>
Another limitation is if you're using the IIS module (ISAPI) and PHP 4, you
may not use the <literal>PHP_AUTH_*</literal> variables but instead, the
variable <literal>HTTP_AUTHORIZATION</literal> is available. For example,
consider the following code: <literal>list($user, $pw) = explode(':',
base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));</literal>
</simpara>
<note>
<title>IIS Note:</title>