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:
Philip Olson 2003-03-18 16:13:17 +00:00
parent f53938e2bc
commit c0eba09bc7

View file

@ -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>