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

Reply via email to