View Single Post
Old 12-07-2005, 10:10   #3
philip.j.fry
Inactive
 
philip.j.fry's Avatar
 
Join Date: Jul 2003
Posts: 1,395
philip.j.fry has reached the bronze age
philip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze age
Re: php? detecting ip of NTL user?

Quote:
Originally Posted by Jon M
This code will detect whether it is a forwarded (behind a proxy) address:
Code:
Dim sIPAddress
sIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If sIPAddress="" Then sIPAddress = Request.ServerVariables("REMOTE_ADDR")
EndIf
Isn't that VB rather than PHP?
philip.j.fry is offline   Reply With Quote