Posted by J.O. Aho on 12/13/06 11:21
The87Boy wrote:
> J.O. Aho skrev:
>> if(shell_exec('ping -c 1 www.whitehouse.gov | grep "64 bytes"')) {
>> echo "Found the path to the warmonger";
>> } else {
>> echo "No internet or warmonger dead.";
>> }
>
> I can't ping on the network, I'm on
If you have the right to include external files, then you could try to include
or open a remote file, if that works you have connection, if not than you
don't or the remote machine is down.
--
//Aho
[Back to original message]
|