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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php