Reply to Re: How to send data a little at a time?

Your name:

Reply:


Posted by Chung Leong on 10/18/05 16:47

Iván Sánchez Ortega wrote:
> 4) The threaded way
>
> Use pcntl_fork() to create a child process (or, if posible, a thread) for
> each site request. As all the children share the same stdout file
> descriptor, you should be able to echo() text to the browser asyncronously
> (or, you could use popen() or some other pipe mechanism to centrlize the
> output).

Probably easier to just poll a bunch of non-blocking streams.

[Back to original 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

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