You are here: Re: timetable of the server that jumps « All PHP « IT news, forums, messages
Re: timetable of the server that jumps

Posted by J.O. Aho on 10/07/07 08:18

nonce999 wrote:
> not not.
> the problem is not in the client but in the server.

You get the script better working for most visitors if they get their own time
instead of the servers.


> the server turn 2 hour behind randomly.

Only option would be if the servers hardware clock is broken and you run the
ntp update not enough times to keep the time right.

Apache itself won't affect the time, it will always use the time that the
system says it has.

PHP won't temper with the time, it do read the system time too, but of course
ill written PHP scripts may convert the system time badly when it tries to
change timezones.


Still, the best solution would be to not initialize the time based on the
servers clock, but on the clients clock.

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация