Network Time Protocol is used to synchronize the time on Linux Server. NTP continuously sync and adjusts the time setting of the client by querying the NTP server. It is recommended to be used by systems which need very fine tuned time synchronization requirements (milliseconds). Recommended setup to use is to have a common NTPD server on your LAN and then configure other devices to sync to it.
Continue reading “Setup NPTD Server and client for CENTOS 6”
Tag: Debian
Debian
Return MySQL query as PHP variable
If you have a PHP built webpage and you need to save the MySQL query as a PHP variable, then you can use the following function.
The MySQL query result should be a single entry and it will be saved on the variable when the function is called.