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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing "HTTP_X_FORWARDED_FOR"

Status
Not open for further replies.

sirugo

Programmer
Aug 1, 2000
162
SE
I'm administrating a webserver which is behind a proxy.
The [REMOTE_ADR] variable gives me the proxy-address only but I have read that it should be possible to access the visitor's real IP through [HTTP_X_FORWARDED_FOR].

When I look at the environmental variables that come with a call, the [HTTP_X_FORWARDED_FOR] is not in the list.

How do I access it?
How do I enable it?
Does it have to be done on the proxy itself?

Running a WinNT with PHP 4.2.3

Thanks
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top