mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
48c2cd4497
commit
0491ab6e63
1 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue