Reply to 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.