Login   Register  
PHP Classes
elePHPant
Icontem

MultiCurl: Retrieve multiple pages simultaneously

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-11-07 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,662 All time: 2,174 This week: 1,530Up
Version License PHP version Categories  
multicurl 1.07GNU Lesser General Publ...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 Vadym Timofeyev
Name: Vadym Timofeyev <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 39
All time rank: 81124 in The Netherlands The Netherlands
Week rank: 1734 Down49 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file MultiCurl.class.php Class MultiCurl class
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file README Doc. README
Accessible without login Plain text file ChangeLog Data ChangeLog
Accessible without login Plain text file LICENSE Lic. LICENSE

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,662All time:2,174
 This week:0This week:1,530Up