470,848 Members | 1,694 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Loading websites in parallel

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
Jul 17 '05 #1
0 1599

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Markus Franz | last post: by
2 posts views Thread by Markus Franz | last post: by
3 posts views Thread by Brett | last post: by
4 posts views Thread by blackhawk | last post: by
11 posts views Thread by lovecreatesbeauty | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.