#!/usr/bin/php /dev/null 2>>errorlog_tori', $out, $code); $b=microtime(true); $x=$b-$a; echo "$start tori $x $code\n"; } if ($r == 1) { $a=microtime(true); exec('./usewithtor4.sh curl -sS http://www.example.org/ 1>/dev/null 2>>errorlog_tor4', $out, $code); $b=microtime(true); $x=$b-$a; echo "$start tor4 $x $code\n"; } if ($r == 2) { $a=microtime(true); exec('./usewithtor4_v5.sh curl -sS http://www.example.org/ 1>/dev/null 2>>errorlog_tor5', $out, $code); $b=microtime(true); $x=$b-$a; echo "$start tor5 $x $code\n"; } if ($r == 3) { $a=microtime(true); exec('curl -sS -A "Internet Connection Tester 0.1 (Alpha)" "http://www.example.org/" 1>/dev/null 2>>errorlog_bare', $out, $code); $b=microtime(true); $x=$b-$a; echo "$start bare $x $code\n"; } } sleep(C_SLEEP); } ?>