PDA

View Full Version : Question to the cgi/php programmers


Chosen
08-22-2001, 08:22 PM
Is there a way to determine proxy by ip

Please send your solutions to inet4ever@hotmail.com

Thanks http://bbs.adultwebmasterinfo.com/ubb/smile.gif

altasexa
08-22-2001, 09:08 PM
You can check for the existence of the X_FORWARDED_FOR variable. Many (but not all) proxy servers will pass on the IP address of client this way.

Chosen
08-23-2001, 06:34 PM
You mean something like
getenv("X_FORWARDED_FOR") ?

It doesn't seems to work for me