<?php function isOnline($ip, $port, $timeout = 1) { return (($fp = fsockopen($ip, $port, $i, $j, $timeout)) ? fclose($fp) : false); } isOnline('127.0.0.1', 80);
You have javascript disabled. You will not be able to edit any code.