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 C. on 01/16/07 15:30

balakrishnan.dinesh@gmail.com wrote:
> hi Kimmo,
>
> Thanks for ur solution, But the problem with this solution is,
> After 100 seconds only , the page is getting displayed ,until nothing
> is displayed ..
> what I need is, while the counter is running in "sleep(100)" ,
> other process should be performed concurrently
> Is there any way for that
>

Yes, but its not simple in PHP invoked from a webserver.

You've not really explained what you are trying to acheive.

Do you need a single thread of execution for the controlling process?
Must it be bound to a browser access? What are the failure modes? What
are the "other processes" to be performed concurrently? Should they
signal back to the browser? Should they run in a seperate process
group? Why does your script have to sleep while the other processes are
running? What have you tried?

C.

 

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

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