Help with = $_SERVER['REMOTE_USER'] (SOLVED)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

Help with = $_SERVER['REMOTE_USER'] (SOLVED)

Post by pedrokas »

I all!
I've don'it one time several months ago, and now i've completely forgot.

I need to have windows domain name to validate a row.
I know the $_SERVER['HTTP_HOST'] works but my server returns that the env do not exits!
in the other server the phpinfo() environment have the names and the php variable too.

Help pls!
i this this is a easy q!

TKU
Last edited by pedrokas on Tue Feb 22, 2005 5:19 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Code: Select all

var_export(array('$_ENV'=>$_ENV,'$_SERVER'=>$_SERVER));
it should be inside either of those..
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

Post by pedrokas »

hi again.
i managed to solve the problem, in the IIS i deselect the option annonymous user.

It turns the environment with _SERVER[logon_user], remote_user, etc...

Thanku anyway.
Post Reply