You are here: Setting clock backwards hangs webserver (PHP+THTTPD) « PHP « IT news, forums, messages
Setting clock backwards hangs webserver (PHP+THTTPD)

Posted by "Vinoo S Warrier" on 11/13/09 11:22

Hi all,
Iam running PHP on THTTPD 2.21b

I have a simple php script that sets the system clock (using exec("date -s MMDDhhmmYYYY.ss") and returns a page showing the system time

when i use it to set the time forwards, it works fine
but if i use it and set the time backwards (even a few seconds), the webserver hangs. also it hangs only for exactly the amount of time needed for the backwards-set time to catch up with the original time. when the clock catches up with the original time, the page is returned. till then it hangs

it's almost as if the webserver is waiting for the time to come back to the request-received time before sending the page.

i dont know if this is a php problem or a thttpd problem. any pointers, please ?

Regards,
Vinoo




________________________________________________________________
Sent via the WebMail system at kalkitech.com

 

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

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