You can do a dns lookup with gethostbyaddr, create a connection with fsockopen, write the HTTP request, wait for the response etc. You can calculate the time after each step.
We at www.downnotifier.com use similar ways.
You can do a dns lookup with gethostbyaddr, create a connection with fsockopen, write the HTTP request, wait for the response etc. You can calculate the time after each step.
We at www.downnotifier.com use similar ways.