Login   Register  
PHP Classes
elePHPant
Icontem

PHP HTTP protocol client: HTTP client to access Web site pages

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

  Author Author  
Picture of Manuel Lemos
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 45
All time rank: 1
Week rank: 4 Down1 in Portugal Portugal Equal


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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 Download .zip .tar.gz  >  Support forum Support forum (137)  >  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: 1.0.2
PHP version: 3
License: BSD License
All time users: 39430 users
All time rank: 8
Week users: 51 users
Week rank: 15 Down
 
  Groups   Screenshots Screenshots   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  
httpclient.gif
File Role Description
Accessible without login Image file httpclient.gif Screen Submitting a SOAP request via HTTP POST


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (89%) Good (86%) - Good (82%) Sufficient (78%) - Sufficient (69%) 216
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
Simple Authentication and Security Layer Download .zip .tar.gz 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). Conditional

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

  Pages that reference this package  
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...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
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

Install with Composer Install with Composer - Download 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.