Internal Server Error?

From: Date: Sun, 06 Jan 2002 16:30:49 +0000
Subject: Internal Server Error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79611@lists.php.net to get a copy of this message
Hello, Does anybody have any ideas why the code below is giving me internal server errors? if (!isset($PHP_AUTH_USER)) { header('WWW-Authenticate: Basic realm="XYZ Company Admin Area"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; } else if (isset($PHP_AUTH_USER)) { if (($PHP_AUTH_USER != "admin") || ($PHP_AUTH_PW != "password")) { header('WWW-Authenticate: Basic realm="XYZ Company Admin Area"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; Do I need to set or change anything in my PHP set-up? Thanks in advance, GF.

« previous php.general (#79611) next »