cvs: phpdoc /en/features http-auth.xml
| From: | Philip Olson | Date: | Tue, 18 Mar 2003 16:13:18 +0000 |
| Subject: | cvs: phpdoc /en/features http-auth.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352259@lists.php.net to get a copy of this message | ||
philip Tue Mar 18 11:13:18 2003 EDT
Modified files:
/phpdoc/en/features http-auth.xml
Log:
A small mention of IIS/ISAPI and HTTP_AUTHORIZATION. This topic needs
additional research.
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.32 phpdoc/en/features/http-auth.xml:1.33
--- phpdoc/en/features/http-auth.xml:1.32 Tue Feb 4 08:05:06 2003
+++ phpdoc/en/features/http-auth.xml Tue Mar 18 11:13:17 2003
@@ -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>