Hi guys,

I am creating a script as I am using this to detection the proxy server levels.

<?php
//proxy levels
//Level 3 Elite Proxy, connection looks like a regular client
//Level 2 Anonymous Proxy, no ip is forworded but target site could still tell it's a proxy
//Level 1 Transparent Proxy, ip is forworded and target site would be able to tell it's a proxy

if(!$_SERVER['HTTP_X_FORWARDED_FOR'] && !$_SERVER['HTTP_VIA'] && !$_SERVER['HTTP_PROXY_CONNECTION']){
echo '3';
} elseif(!$_SERVER['HTTP_X_FORWARDED_FOR']){
echo '2';
} else echo '1';
?>

I want the script to check the ip that if the proxy server is a Codeen/PlanetLab and BotNet proxy servers, then place on level one and if they are safe/unsafe to use. I cannot find the code to do the methods.

Please help me!

Thanks in advance.

    please can someone help??????????

      Write a Reply...