RE: [PHP] header error?

From: Date: Tue, 08 Aug 2000 15:17:03 +0000
Subject: RE: [PHP] header error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10691@lists.php.net to get a copy of this message
How else are you handling the authentication? How does your system know whether or not someone is actually authorized to use your system? A database? A hardcoded PHP_AUTH_USER and PHP_AUTH_PW? Sam Masiello System Analyst Chek.Com (716) 853-1362 x289 smasiello@chekinc.com -----Original Message----- From: deryk [mailto:chenzfeng@sina.com] Sent: Tuesday, August 08, 2000 11:14 AM To: php-general@lists.php.net Subject: [PHP] header error? HI: I met a problem like this: at the start of my php file,I add two line: Header("WWW-Authenticate: Basic realm=\"Member\""); Header("HTTP/1.0 401 Unauthorized"); just to make it be authorizable. but when I open that file NO authorize box just a internal server error.while I check the log It said:malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: e:/php401/php.exe anyone can help me? I'm using w2kpro+apache1.3.12+php4.0.1pl2 thanx deryk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#10691) next »