Ok, i need a script that will check to see if a port is open, and tell me yes or no. Anybody know here i can find some documentaion on that, or an actuall scritp i can read to learn about it on?
Thanks Anthony
$ip = "127.0.0.1"; // or whatever $port = 80; // check the port 80
if ($sock = fsocket($ip, $port)) { print "Port $port is open"; fclose($sock); } else { print "Port $port is not open"; }
Diego