NTP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

NTP

Post 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. ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I don't recall an "official" extension/module for NTP from PHP.

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