1 FAQ tagged "REMOTE_ADDR"
Viewing 1-1 of 1 FAQ -- How to determine or retrieve visitor’s IP address using PHP
Q. How do I determine or retrieve visitor’s IP address using PHP server side programming?
A. Use following enviorment variable to get visitor’s IP address:
No Proxy detection
=> REMOTE_ADDR - Remote client IP address
With Proxy detection
=> HTTP_X_FORWARDED_FOR - Get Proxy server IP
PHP getenv() function
=> Use php getenv() function to read the value of the environment. [...]
Viewing 1-1 of 1 FAQ - ( see all popular tags )



Recent Comments
Today ~ 5 Comments
Today ~ 1 Comment
Yesterday ~ 1 Comment
Yesterday ~ 2 Comments
Yesterday ~ 10 Comments