Hi.
I have a difficult problem: An array contains several different URLs.
I want to load these websites in parallel by using a HTTP-Request. How
can I do this in PHP?
Up to now I did this with an external Python script because Python
offers process control functions. But in PHP only exist restricted
possibilities for using threads / processes.
But now I want to do this in PHP, i.e. I wan to load some Website in
parallel in PHP - but I haven't found any possibility to do this in
PHP.
At www.twistedmatrix.com there are some Python scripts that load some
websites in parallel without using processes or threads. I think (I'm
not sure) they do this with sockets (PHP: streams?) which are
controlled ongoing (PHP: loops?).
So: How can I load some websites in parallel in PHP by using a
HTTP-Request? (This might be done in a way similar to twistedmatrix,
but I didn't succeed...)
Thank you very much.
Mit freundlichen Grüßen
Markus Franz