PHP code to query and Echo an NTP server time
Posted on 2010-09-01
I am looking for some PHP code that I can publish to a website that will query a few different NTP servers and print the results to the web page.
Example: the PHP script would check the NTP servers time.nist.gov and pool.ntp.org than echo to the web page. Any idea how I could do this?