/ Published in: PHP
http://www.guizzardi.net/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php for ($host=1;$host<=255;$host++) { $hostname = '192.168.1.'.$host; $port = 80; $timeout = 3; if($fp) { echo "Host $hostname RISPONDE.\n"; } else { echo "Host $hostname non risponde.\n"; } } ?>
URL: http://www.guizzardi.net/?p=699