Hi, I would like to time sync to servers using php!
I want to be sure that the server running the current X php script
is NOT using a fake date and time!
I dont know at all how to do it!
Let we say that we have server Z that has 100% the right date and time and is located on GMT +1 (Paris, Berlin, etc...)!
Now I have to know the actule servers GMT, date and time and compare them!
But how may a get the information from server Z to server Y in vars so that I
can use them with a IF() formula ???
I can't give any code, since I dont even know to to get the infos...
My idear was to use an include("http://serverZ.com/timesync.php");
but the problem is that I can't use the vars and if i put an ECHO"$script";
I will see the echo on the serverY and won't be able to hide them and work with them...! Well it is possible, but I personaly dont find this idear for an good one...
Maybe an other php_function is better...
Thx for any help 😃