What is you IP ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to filter IP addresses. I noticed that my script catches IP addresses that looks like they came from the internal LAN, ie 192.x.x.x and 10.x.x.x

My script catched those IPs by $_SERVER['REMOTE_ADDR']. Am I not being able to catch IPs from transparent proxies that a user's ISP might use? Would $_SERVER['HTTP_X_FORWARDED_FOR'] be better ? Reasons ?

Please advise.

--
Roger


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux