$_SERVER["AUTH_USER"]

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
badai
-


Joined: 24 Apr 2003
Posts: 82

PostPosted: Sun Mar 04, 2007 2:06 pm    Post subject: $_SERVER["AUTH_USER"] Reply with quote

$_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 View user's profile Send private message
badai
-


Joined: 24 Apr 2003
Posts: 82

PostPosted: Sun Mar 04, 2007 2:08 pm    Post subject: Reply with quote

nevermind, $_SERVER["PHP_AUTH_USER"] fix the problem
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group