Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP REMOTE_USER Variable not showing

Status
Not open for further replies.

ToeKnee2

Programmer
Jun 8, 2006
21
GB
Could any one tell me any reasons why the REMOTE_USER variable would not show in my phpinfo?

I'm running PHP 5.1 and Apache 2 on Redhat 4.




 
from recollection it only works when you are using php as a sapi with apache. i.e. if you're on CGI or a non-apache platform then it might (will) not work.

since i see you're using apache, i'd guess it's a sapi-vs-cgi issue (unless of course the page is not protected!)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top