Login   Register  
PHP Classes
elePHPant
Icontem

HTTP client class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Md Emran Hasan
Name: Md Emran Hasan <e-mail contact>
Packages: 2 Browse all classes by Md Emran Hasan Browse all classes by
Country: Bangladesh Bangladesh - PHP jobs in Bangladesh
Age: 29
All time rank: 3918 in Bangladesh Bangladesh
Week rank: 294 Up11 in Bangladesh Bangladesh Down


  Detailed description   Download .zip .tar.gz  
This class can be used to access Web resources using either sockets opened with fsockopen or Curl library depending on which is available in the current PHP setup. It features:

- Supports to HTTP Basic authentication
- Supports defining custom request headers
- Supports defining connection timeout values
- Supports defining user agent and referral URL
- Supports both user-defined and persistent cookies
- Supports secure connections (HTTPS)
- Supports adding requests parameters for both GET and POST methods
- Supports automatic redirection with maximum redirect limits
- Returns HTTP response headers and response body data separately

  Classes of Md Emran Hasan  >  HTTP client class  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: HTTP client class
Base name: httpclass
Description: Access Web resources via HTTP with sockets or Curl
Version: 0.1
PHP version: 4.0
License: BSD License
All time users: 1794 users
All time rank: 1943
Week users: 3 users
Week rank: 923 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  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


  User ratings  
There are not enough user ratings to display for this 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.

  Related links  
Link Description
Documentation Here the class methods are explained using phpDoc.

  Files folder image Files  
File Role Description
Plain text file class.http.php Class The main class
Accessible without login Plain text file test_basecamp.php Example Test file showing logging into basecamp.
Accessible without login Plain text file test_fbapp.php Example Test file showing fetching of facebook application page.
Accessible without login Plain text file test_feed.php Example Test file showing fetching of protected feed.
Accessible without login Plain text file test_term_extract.php Example Test file showing invoking Yahoo Term Extraction API.

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