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?