MultiCurl: Retrieve multiple pages simultaneously

Recommend this page to a friend!
  Info   Example   View files (4)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,758 All time: 2,208 This week: 372
Version License PHP version Categories
multicurl 1.07GNU Lesser Genera...5.0Networking, HTTP, PHP 5
Description Author

This class can be used to retrieve multiple pages simultaneously from remote Web servers.

It uses PHP Curl extension to establish one or more HTTP requests that may be executed in parallel.

The class supports:

- Only a limited number of requests are executed in parallel, so exceeding requests are delayed until prior requests are finished
- Restrict the size of retrieved data to a given limit
- Set common CURL options for all requests
- Set separate CURL options for different requests when necessary
- Use callback events for response result processing.

Innovation Award
PHP Programming Innovation award nominee
September 2007
Number 6


Prize: One copy of the Zend Studio
PHP can access Web resources either using HTTP connections established by the fsockopen function or the Curl library functions.

The Curl library provides support to establish multiple HTTP connections in parallel, thus retrieving resources from several Web servers at the same time.

This class takes advantage of this feature of the Curl library to provide a more elegant interface to access data from multiple Web sites in less time.

Manuel Lemos
Picture of V
Name: V <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 45
All time rank: 84324 in The Netherlands The Netherlands
Week rank: 246 8 in The Netherlands The Netherlands
Innovation award
Innovation award
Nominee: 1x

  Files  
File Role Description
MultiCurl.class.php Class MultiCurl class
example.php Example Example
README Doc. README
LICENSE Lic. LICENSE

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,758
This week:0
All time:2,208
This week:372

For more information send a message to info at phpclasses dot org.