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

HTTP_X_FORWARDED_FOR

Status
Not open for further replies.

mirfan

Programmer
Feb 4, 2005
13
PK
hi

$_SERVER['HTTP_X_FORWARDED_FOR']

i'm using this server variable to get ip... its working in few countries but not in others...like france, england..

any suggestion...

actually i want to get the ip address of user.

thanks
 
The HTTP_X_FORWARDED_FOR header is generated by proxy servers. Some proxy servers are configured to not provide this information.

If the proxy server does not supply this information, there is no way for you to get it.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top