Won't get $_SERVER['PHP_AUTH_USER']
| From: | Simon Fredriksson | Date: | Tue, 20 Jul 2004 11:50:46 +0000 |
| Subject: | Won't get $_SERVER['PHP_AUTH_USER'] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191149@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\"");
//Simon