Page 1 of 1

NTP

Posted: Mon Mar 28, 2005 12:19 am
by Pyrite
I thought I had read in the manual that php had an extension for NTP, but I can't find it now. Is is possible, perhaps through some other method, to connect to an NTP server with php and get the time? etc. ?

Posted: Mon Mar 28, 2005 12:57 am
by feyd
I don't recall an "official" extension/module for NTP from PHP.

I imagine it could fairly easily be done via fsockopen().