472,962 Members | 2,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,962 software developers and data experts.

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 1700

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Markus Franz | last post by:
Hi. How can I grab websites with a command-line python script? I want to start the script like this: ../script.py ---xxx--- http://www.address1.com http://www.address2.com...
2
by: Markus Franz | last post by:
Hi. Some URLs are passed to a python script as command line options like the following command ../script.py http://www.websites1.com http://www.website2.com (The number of passed URLs...
3
by: Brett | last post by:
I have just picked up javascript so that I can write some scripts for Greasemonkey. For those not familiar with grease monkey it is a program that allows you to change websites before you view...
4
by: blackhawk | last post by:
I need to build a web page that has to potentially display a large amount of data in two grids on the same page. The HTML file with all of the formatting is about 7MB in size. This is too large...
76
by: kwilder | last post by:
This works, but it doesn't load the latest version of the xml if it was just modified without closing and reopening the browser. Here's the scenario: I have an xml doc called results.xml. It...
11
by: lovecreatesbeauty | last post by:
For example, line L1 and line L2 are two lines in two-dimensional space, the start-points and end-points can be described with following the `point_t' type. The start-points and end-points are:...
3
jeremydowe
by: jeremydowe | last post by:
Hi, I have noticed that quite a few websites use a preloading graphic (i.e spining circle) to show the that the site is loading images while the user waits. How can I add this to my website? ...
4
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.