Login   Register  
PHP Classes
elePHPant
Icontem

Class: Curl HTTP Client

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dragan Dinic  >  Curl HTTP Client  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Curl HTTP Client
Base name: curl_http_client
Description: HTTP client using the PHP Curl library
Related classes: , , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 4133 users
All time rank: 567
Week users: 10 users
Week rank: 325
Picture of Dragan Dinic
Author: Dragan Dinic <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Serbia and Montenegro Serbia and Montenegro - PHP jobs in Serbia and Montenegro
Age: 37
All time rank: 3051 in Serbia and Montenegro Serbia and Montenegro
Week rank: 267 Up1 in Serbia and Montenegro Serbia and Montenegro


  Detailed description  
This class implements an HTTP client using the PHP Curl library extension.

It can perform HTTP GET or POST requests taking an array as the list of POST parameters.

The class can set request referrer, authentication credentials, connection peer IP address, etc..

It can also collect cookies sent by the server in a cookie jar file.

 

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes

  Freshmeat project   Rate classes User ratings   Trackback   Applications   Files Files  

  Freshmeat project  
Project record: curl_http_client
Popularity score: 43.34
Vitality score: 1.05

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (93.8%)
Good (84.4%)
-
Sufficient (75.0%)
-
-
Sufficient (62.8%)
588
Month:
Not yet rated by the users

  Trackback links  
Link Description
Curl HTTP Client Frequently, in my daytime job I have to fetch data from various url’s, either by sending get or post request, binding to different IP address etc..
Curl HTTP Client Frequently, in my daytime job I have to fetch data from various url’s, either by sending get or post request, binding to different IP address etc. Long time I used my own socket based HTTP class, although I wasn’t quite happy with perfomances and various other things with it. I already used curl cli tool (mostly for debugging purposes), but didn’t really liked it’s php api, so I’ve decided to take some spare time and make some kind of oop wrapper for it, which should be easier to use for easy stuff like sending get/post request etc.
Curl HTTP Client - Update Just put online new version of my Curl_HTTP_Client class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file curl_http_client.php Class Main Class
Plain text file example.php Example Example of Usage

Download all files: curl_http_client.tar.gz curl_http_client.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.