View previous topic :: View next topic |
Author |
Message |
badai -
Joined: 24 Apr 2003 Posts: 82
|
Posted: Sun Mar 04, 2007 2:06 pm Post subject: $_SERVER["AUTH_USER"] |
|
|
$_SERVER["AUTH_USER"] suddenly doesn't work
let say the login is user1, the code as following:
Code: | $user=$_SERVER["AUTH_USER"];
echo $user;
|
the output is:
user1user1 |
|
Back to top |
|
|
badai -
Joined: 24 Apr 2003 Posts: 82
|
Posted: Sun Mar 04, 2007 2:08 pm Post subject: |
|
|
nevermind, $_SERVER["PHP_AUTH_USER"] fix the problem |
|
Back to top |
|
|
|