From c0eba09bc7889ceca9e1adcf5da448e8274c40c2 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 18 Mar 2003 16:13:17 +0000 Subject: [PATCH] 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 --- features/http-auth.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/features/http-auth.xml b/features/http-auth.xml index 54bb6cc964..0bb192ddc7 100644 --- a/features/http-auth.xml +++ b/features/http-auth.xml @@ -1,5 +1,5 @@ - + HTTP authentication with PHP @@ -156,7 +156,11 @@ 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 HTTP_AUTHORIZATION + variable for example: list($user, $pw) = + explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6))); +