mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
A small mention of IIS/ISAPI and HTTP_AUTHORIZATION. This topic needs
additional research. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@120596 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f53938e2bc
commit
c0eba09bc7
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.32 $ -->
|
||||
<!-- $Revision: 1.33 $ -->
|
||||
<chapter id="features.http-auth">
|
||||
<title>HTTP authentication with PHP</title>
|
||||
|
||||
|
@ -156,7 +156,11 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
Also note that this does not work using Microsoft's IIS server and
|
||||
the CGI version of PHP due to a limitation of IIS.
|
||||
the CGI version of PHP due to a limitation of IIS. If you're using
|
||||
the IIS module (ISAPI), you may use the <literal>HTTP_AUTHORIZATION
|
||||
</literal> variable for example: <literal>list($user, $pw) =
|
||||
explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
|
||||
</literal>
|
||||
</simpara>
|
||||
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue