Reply to Re: Multithreading/Parallel Processing with PHP

Your name:

Reply:


Posted by notquitejack on 09/30/05 15:55

In the past, I've found it useful to have one PHP script spawn other
processes that can run simultaneously. I'm not sure that it will
improve speed, but at least things run in parallel.

foreach ($array as $value){
$command="/usr/local/bin/php -q script.php $value 1>/dev/null 2>&1
&";
`$command`;
}

[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

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