Re: Won't get $_SERVER['PHP_AUTH_USER']
| From: | Philip Olson | Date: | Tue, 20 Jul 2004 14:41:30 +0000 |
| Subject: | Re: Won't get $_SERVER['PHP_AUTH_USER'] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191169@lists.php.net to get a copy of this message | ||
> Has there been any changes concerning $_SERVER['PHP_AUTH_USER'] in PHP5?
> My news-script won't let me login after I changed from PHP 4.3.7 to
> 5.0.0 (Win32, Apache 1.3.31, php as module). I've checked
> var_dump($_SERVER) and there's no PHP_AUTH_USER in the list, just
> PHP_AUTH_PW. How come?
>
> It's called from this:
> header("WWW-Authenticate: Basic realm=\"My Site\"");
This is a bug in PHP 5.0.0, here's the report:
http://bugs.php.net/bug.php?id=29132
Regards,
Philip