Page 1 of 1

getting a user name

Posted: Wed Nov 20, 2002 3:55 am
by mfalomir
Hello....Im developing a public forum to use it at a local network, where users log into a network domain in their PC(windows) , what i wnat to do it's depending on which user has logged in to my local domain, at the time he access to my public forum , get his username and pass it directly to the forum, instead of using cookies or validate a user name in a data base.....did i make my self clear?? or is it too confusing :) well, i hope you can help me....thanks....

Posted: Wed Nov 20, 2002 11:44 am
by twigletmac
Try

Code: Select all

echo '<pre>';
print_r($_SERVER);
echo '</pre>';
and check for a variable which contains your network login (on my server it's $_SERVER['REMOTE_USER']).

Mac