-3

I want to develop a system that perform specific task based on time however, if i use php time function for example if some 1 change the server time it affect my program any solution to avoid using server time?

1 Answers1

0

I think that you could use a NTP server so your system won't depend on the server time but on a remote server.

There is an working code example in this answer: Retrieve Time from NTP server via PHP - Stack Overflow.

Chocolord
  • 493
  • 3
  • 12