Login   Register  
PHP Classes
elePHPant
Icontem

PHP HTTP protocol client

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

  Author  
Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Packages: 32 Browse all classes by Manuel Lemos Browse all classes by
Country: Portugal Portugal - PHP jobs in Portugal
Age: 44
All time rank: 1
Week rank: 3 Down1 in Portugal Portugal Equal


  Detailed description   Download .zip .tar.gz  
Class that implements requests to Web resources using the HTTP protocol.

It features:

- May submit HTTP requests with any method, to any page, to any server, connecting to any port.
- Provides support to setup connection and request arguments from a given URL.
- May submit requests via a proxy server with support for authentication if necessary.
- May establish connections via a SOCKS server.
- Supports HTTP direct access or proxy based authentication mechanisms via SASL class library like HTTP Basic, HTTP Digest or NTLM (Windows or Samba).
- Support secure connections (https) via Curl library with SSL support, or at least PHP 4.3.0 with OpenSSL support, or via a non-SSL HTTP proxy server.
- Supports accessing secure pages using SSL certificates and private keys using Curl library
- Supports user defined request headers.
- Supports POST requests with a user defined array of form values.
- Supports POST requests with a user defined request bodies for instance for making requests to SOAP services.
- Supports streaming requests that require uploading large amounts of data of undefined length in small chunks to avoid exceeding PHP memory limits
- Supports requests to sites hosting virtual Web servers.
- Retrieves the HTTP response headers and body data separately.
- Support HTTP 1.1 chunked content encoding
- Supports session and persistent cookies.
- Provides optional handling of redirected pages.
- Supports defining connection and data transfer timeout values.
- Can output connection debug information in plain text or formatted as HTML.
- An add-on class is provided to login to Yahoo sites and perform actions on the behalf of the logged users like exporting the user address book or sending invitation to a group.

  Classes of Manuel Lemos  >  PHP HTTP protocol client  >  Download .zip .tar.gz  >  Support forum Support forum (133)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP HTTP protocol client
Base name: httpclient
Description: HTTP client to access Web site pages
Version: -
PHP version: 3
License: BSD License
All time users: 35535 users
All time rank: 8
Week users: 44 users
Week rank: 26 Down
 
  Groups   Screenshots Screenshots   Freshmeat project   Rate classes User ratings  
  Dependencies   Dependents   Trackback   Applications   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
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes

  Files folder image Screenshots  
Submitting a SOAP request via HTTP POST
File Role Description
Accessible without login Image file httpclient.gif Screen Submitting a SOAP request via HTTP POST


  Freshmeat project  
PHP HTTP protocol client
Project record: httpclass
Popularity score: 411.2
Vitality score: 47.7

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (89.2%)
Good (86.5%)
-
Good (81.4%)
Sufficient (76.5%)
-
Sufficient (69.0%)
246
Month:
Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
Simple Authentication and Security Layer
Conditional
When the HTTP server requires authentication, the SASL package provides support for implementing authentication mechanisms like: Basic, Digest, PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix with Samba).

  Packages that need this class  
Class Dependency Why it is needed
AIM
Required
connectivity to Authorize.net server
Akismet class
Required
For http protocol
Amazon S3 Stream Wrapper
Required
This class is the base for open HTTP Communication
File Exchange Protocol
Required
The Filesystem is working over HTTP/1.0
French White Pages
Required
HTTP Post Query
Freshmeat project query class
Required
Access the Freshmeat site with HTTP protocol
From Browser - Youtube Upload
Required
For HTTP negociation
gHttp
Required
This class is the base for open HTTP
PHP Git
Conditional
In order to run run git_http_client.php
PHP OAuth API
Required
Send HTTP request to OAuth servers
PHP Print IPP
Conditional
IPP protocol transits by http. Here is a compatible and stable http backend.
PHP SVN Client
Required
for http(s) protocol
SOAP server class
Optional
Used in the SOAP client example script
WAP Push
Required
The wPush uses this class for the POST query.

  Trackback links  
Link Description
12 cosas que necesitas saber acerca PHP Hola a todos, leyendo mi mailing list de PHPClasses me topo con un artículo interesante en inglés llamado “12 things you need to know about PHP” en un blog llamado Compdigitec Labs...
12 things you need to know about PHP Are you still thinking that PHP is an web-only language or is “not a real language”?...
Alternative to CURL in Moriarty I just checked in a small update to moriarty that might solve a problem some people have experienced using curl...
Blast from the past About a year ago I was dabbling and creating a simple PHP webapp at work to allow us to perform various operations on our platform stores used in development...
http client -
PHP HTTP Class I’ve found a great PHP script that can essentially turn a web server into a virtual browser...
PHP HTTP Class 2 Revisiting the topic of my previous post, I’ve played around some more with this PHP HTTP Class...
Save yourself some work: important PHP classes/libraries/projects for developers From sending mail with attachments to fetching content via RSS to sending a trackback - a list of common coding tasks that is solved with good existing code...

  Applications that use this class  
Link Description
Firestats Uses this class to download new versions of the program and the IP to country database files
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 http.php Class HTTP class file
Accessible without login Plain text file LICENSE.txt Lic. BSD like license
Accessible without login Plain text file test_cookies.php Test Unit test script to verify cookie manipulation functions
Accessible without login Plain text file test_http.php Example HTTP class test page script
Accessible without login Plain text file test_http_cookies.php Example Script to test cookie support
Accessible without login Plain text file test_http_image_request.php Example Example script on how to request an image from a remote site to made available through a local server
Accessible without login Plain text file test_http_post.php Example Emulate a form submission using HTTP POST submitting form field values including file uploads
Accessible without login Plain text file test_http_soap.php Example Example script on how to make a request to SOAP service
Accessible without login Plain text file yahoo_export_address_book.php Example Script to login in Yahoo and export the user address book
Accessible without login Plain text file yahoo_group_invite.php Example Script to login in Yahoo and invite users to a Yahoo!Groups mailing list
Plain text file yahoo_user.php Class Class to login and access resources for Yahoo registered users

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