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.