note 19115 rejected from function.header by alindeman

From: Date: Sat, 16 Feb 2002 03:26:00 +0000
Subject: note 19115 rejected from function.header by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26690@lists.php.net to get a copy of this message
Hi, i've got a problem with the headers: Header("WWW-Authenticate: Basic realm=\"Login Section\""); Header("HTTP/1.0 401 Unauthorized"); I get a Internal Server Error (500) when i try to open a page with this lines in it... PHP is compiled as an CGI with suEXEC support in it. The error i get is: [Thu Feb 7 20:10:10 2002] [error] [client 62.131.204.236] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: /home/users/peter/admin/login.php Does someone know how to solve this?

« previous php.notes (#26690) next »