You are here: Re: Is there any function in PHP like setTimeout with same functionallity in javascript « PHP Programming Language « IT news, forums, messages
Re: Is there any function in PHP like setTimeout with same functionallity in javascript

Posted by P Pulkkinen on 01/16/07 08:42

> either make a cronjob to call it every nth second or make an infinitely
> running daemon:
> <?php
>
> while(1){
>
> // Do the magik
>
> // Wait 100 seconds
> sleep(100);
> }
>
> ?>
>
> a cronjob might be easier for the server to handle

I would like to know more about this, because this daemon solution is really
easy to do but is there some dangers with it:
- max_execution_time in php.ini
- is it causing stress to server.

 

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

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