Page 1 of 1

IP ping for online check

Posted: Tue Oct 31, 2006 9:54 am
by amir
Hi,

I would like to know which is the best way (cause I can't find a decent one) to ping an IP in PHP. The system() command doesn't seem to be working on my webserver. Every time i try to ping an 145.84.x.x, no method seems to be working.

The thing I want is like a status checker which displays if the IP is online or offline.

Thank you in advance.

Posted: Tue Oct 31, 2006 10:47 am
by hawleyjr
Have you searched for PING here? I just tried it and pulled up quite a few examples ;)

Posted: Tue Oct 31, 2006 2:30 pm
by amir
Thanks and Cheers!