setup of curl-multi: looping over a bunch of sites [how to adress the array]

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

hello  dear php-friends

i currently work on a little parser project

i have to find solutions for the

a. fetching part
b. parser part

here we go - the target urls:

see the overview:
Search by pressing the button "type" and then choose all schools with
the mouse!
Results 2400 schools
Here i can provide some "more help for getting the target!" -

btw: see some details for this target-server:

well - you see i have to itterate over the sites - with a function /(a
to 10000

BTW - after fetching the page i have to see which one are empty -
those ones do not need to be

Well - i want to do this with curl-multi since this is the most
advanced way to do this:

I see i have an array that can be filled -...
but i have to think about the string-concatenation - i guess that i
have make some
sophisticated string concatenation.

this one does not fit -

 $url = " =";

and besides this i have an array - i c an fill the array.

can you help me how to run in a loop with

* Multi interface in PHP with curl  *
* Requires PHP 5.0, Apache 2.0 and  *
* Curl                     *
* Writen By Cyborg 19671897         *
* Bugfixed by Jeremy Ellman         *

$urls = array(
   " /",
   " /"

$mh = curl_multi_init();

foreach ($urls as $i => $url) {
       curl_setopt($conn[$i],CURLOPT_RETURNTRANSFER,1);//return data
as string
       curl_setopt($conn[$i],CURLOPT_MAXREDIRS,2);//maximum redirects
       curl_multi_add_handle ($mh,$conn[$i]);

do { $n=curl_multi_exec($mh,$active); } while ($active);

foreach ($urls as $i => $url) {



Site Timeline