RE: Open 10 http connections in parallel

From: Date: Fri, 09 Aug 2002 05:04:37 +0000
Subject: RE: Open 10 http connections in parallel
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111767@lists.php.net to get a copy of this message
What about the PCNTL functions? http://www.php.net/manual/en/ref.pcntl.php I haven't used them, but there's a fork function in there... On Fri, 9 Aug 2002, Martin Towell wrote: > use C and fork() > php (AFAIK) can't do parallel programming > > -----Original Message----- > From: NoWhErEMan [mailto:vckh@yahoo.com] > Sent: Friday, August 09, 2002 12:58 PM > To: php-general@lists.php.net > Subject: Open 10 http connections in parallel > > > Hello, > > I had to write a script to open 10 http connections for different links and > get the response from the host. > I do it by fopen each url one by one and save the response to a separated > file. But it slow! > I wonder if i can open 10 connnect (or more) in parallel? > > Thanks in advance. > NoWhErEMaN > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#111767) next »