Congratulations - your IP address ($ip_addr) appears to be clean.";
}
else
{
echo "
Unlucky. Your IP address ($ip_addr) appears to be provided by ";
$isp_type = $result->getIspType();
$isp_name = $result->getIspName();
$spyware = $result->getSpywareName();
if ($isp_type == 'isp')
{
echo " an ISP ($isp_name) who is spying on your web browsing using the spyware system '$spyware'.";
}
else if ($isp_type == 'vendor')
{
echo " the vendor of the spyware system '$spyware'.";
}
else if ($isp_type == 'associated')
{
echo " an ISP ($isp_name) believed to be associated with the spyware system '$spyware'.";
}
else if ($isp_type == 'subsidiary')
{
echo " an innocent subsidiary ($isp_name) of an ISP which runs the spyware system '$spyware'.";
}
else
{
echo " an unknown type of entity ($isp_type).";
}
echo '
';
}
}
?>
PHP test client
0)
{
?>
This test is running using a data set that excludes the excluding entries of these types:
This test is running against the full database.
'clean',
'62.239.128.255' => 'bad ISP',
'78.110.53.1' => 'bad associated',
'83.223.112.1' => 'bad vendor',
'212.159.1.238' => 'bad subsidiary',
$_SERVER['REMOTE_ADDR'] => 'your IP address',
);
echo "
| Test description | " .
" check_addr() result | " .
" warning_banner() result |
";
foreach ($test_list as $ip => $desc)
{
echo "| Test of $ip ($desc) | ";
check_one($ip);
echo " | ";
PhormCheck::warning_banner($ip);
echo " |
\n";
}
echo "
";
if (PhormCheck::check_cookies())
{
echo "Phorm cookie interference detected
";
}
else
{
echo "No Phorm cookie interference detected
";
}
?>