Revision: 56761
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 15, 2012 00:21 by GabrieleGuizzardi
Initial Code
<?php error_reporting(0); for ($host=1;$host<=255;$host++) { $hostname = '192.168.1.'.$host; $port = 80; $timeout = 3; $fp = fsockopen ($hostname, $port ,$errno ,$errstr, $timeout); if($fp) { echo "Host $hostname RISPONDE.\n"; } else { echo "Host $hostname non risponde.\n"; } } ?>
Initial URL
http://www.guizzardi.net/?p=699
Initial Description
http://www.guizzardi.net/
Initial Title
IP LAN Ping range with fsockopen
Initial Tags
Initial Language
PHP