| 
<pre>
<?
 include("ProxyTest.class.php");
 $p = new ProxyTest(array("mailserver" => "mail.somewhere.com"));
 
 $found = $p->PerformScan('127.0.0.1');
 
 echo "<b><u>Summary</u></b>\n";
 if (count($found) > 0) {
 echo "Found <u>".count($found)."</u> open proxies\n";
 foreach ($found as $find) {
 echo "<b>Found:</b> $find\n";
 }
 } else {
 echo "Found no open proxies\n";
 }
 ?>
 </pre>
 |