Location: PHPKode > scripts > Internet Notifier > codejoust-Internet-Tester-d407925/check.php
<?php

$out = exec('curl googl.com --max-time 5');
if (strstr($out, 'timed out') == $out){
  echo 'false';
} else {
  echo 'true';
}
Return current item: Internet Notifier