> Jeg kunne måske også spørge anderledes - er der nogen forskel på
> PHP_AUTH_USER og PHP_AUTH_PW imellem unix og Windows udgaven af PHP?
Okay, jeg var lidt for hurtig med spørgsmålet, da jeg lige fandt dette på
Microsofts webside:
HTTP Authentication with PHP
The HTTP authentication hooks in PHP are only available when it is running
as an Apache module, and so are not available in the CGI version. In an
Apache module PHP script, you can use the header () function to send an
"Authentication Required" message to the client browser, which causes the
browser to pop up a Username/Password dialog box. After the user has filled
in a user name and a password, the URL containing the PHP script will be
called again using the variables $PHP_AUTH_USER, $PHP_AUTH_PW, and
$PHP_AUTH_TYPE, set to the user name, password, and authentication type,
respectively. Only Basic authentication is supported at this point. See the
header() function for more information. This does not work in IIS.
Migrating Linux-Apache-MySQL-PHP to Windows 2000
http://www.microsoft.com/technet/itsolutions/migration/linux/mvc/miglamp.mspx
Mon det så fungere med ISAPI mode i IIS? Det vil jeg lige prøve.