Hi
I have :
a.php:
I get user and pass and check for validity from db and if correct set $_SERVER['PHP_AUTH_USER']=$_POST['User']; and then header("Location:b.php")
b.php:
echo $_SERVER['PHP_AUTH_USER']; - it gave PHP_AUTH_USER is undefined.
When I printed the content of $_SERVER in b.php, it shows
AUTH_PASSWORD -
AUTH_TYPE -
AUTH_USER -
Any ideas, suggestions ?
Thanks
[SOLVED] - Setting $_SERVER['PHP_AUTH_USER']
Moderator: General Moderators
[SOLVED] - Setting $_SERVER['PHP_AUTH_USER']
Last edited by anjanesh on Thu Aug 05, 2004 2:11 pm, edited 1 time in total.