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:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:58 PM > To: [EMAIL PROTECTED] > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php