RE: [PHP] Open 10 http connections in parallel
| From: | Martin Towell | Date: | Fri, 09 Aug 2002 03:28:33 +0000 |
| Subject: | RE: [PHP] Open 10 http connections in parallel | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111762@lists.php.net to get a copy of this message | ||
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: [PHP] 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