You are here: Re: Multithreading/Parallel Processing with PHP « PHP Programming Language « IT news, forums, messages
Re: Multithreading/Parallel Processing with PHP

Posted by Chung Leong on 09/30/05 16:49

The easiest way is to do an internal HTTP look-up, basically letting
the web server handle the multitasking for you. Open a bunch of HTTP
connections to http://localhost/????.php, save the handles into an
array, then keep fgets() each until feof() return true for all of them.
Interprocess communication is simple, as the child script only need to
echo messages to the output stream.

 

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

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