multi threading in PHP
Posted: Fri Nov 18, 2005 11:50 am
Hello
I have a PHP application which needs to invoke several URLs using file_get_contents
each URL will return its own set of values
Is there a way to spawn multiple threads in PHP, letting each one handle its own URL with file_get_content?
Otherwise, doing it sequencially will take a long time, where I have to wait for one call of file_get_content to finish before the next can begin
if this is possible, I would apprciate a link on the subject for reading
I have a PHP application which needs to invoke several URLs using file_get_contents
each URL will return its own set of values
Is there a way to spawn multiple threads in PHP, letting each one handle its own URL with file_get_content?
Otherwise, doing it sequencially will take a long time, where I have to wait for one call of file_get_content to finish before the next can begin
if this is possible, I would apprciate a link on the subject for reading