I want to do as the title states. To ping a users IP and return a result in ms, for instance:
Ping IP return 400ms.
I have no idea how to do this but I expect it would be relatively simple. I have access to the exec() function and the functions similar to it as I will be running this script on a virtual private server.
Thanks in advance.
try this
Try this: