Question about authentication !!
| From: | 卡特爾 | Date: | Sun, 20 Aug 2000 16:08:37 +0000 |
| Subject: | Question about authentication !! | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1724@lists.php.net to get a copy of this message | ||
I have a problem when using "PHP 4.0.1pl for Win32".
When my PHP script run this line
Header("HTTP/1.1 401 Unauthorized");
My Apache log will give me this error message
malformed header from script. Bad header=HTTP/1.1 401 Unauthorized: c:/php4/php.exe
My enviroment is with Apache 1.3.12 for Win32 & PHP 4.0.1pl.
Can you tell me what's wrong?