PHP Classes
Icontem

Class: PHP HTTP protocol client


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  PHP HTTP protocol client  >  Download  >  Support forum Support forum (111)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP HTTP protocol client Support forum
Base name: httpclient
Description: HTTP client to access Web site pages
Related top rated classes: , , ,
Version: -
Required PHP version: 3
License: BSD License
All time users: 27603 users
All time rank: 11
Week users: 63 users
Week rank: 49
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Dependencies   Dependents   Trackback   Applications   Files Files  

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

Author

Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Published packages: 30 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Home page: http://www.ManuelLemos.net/
Age: 40
All time rank: 1
Week rank: 1

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

Detailed description

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.

Freshmeat project

PHP HTTP protocol client
Project record: httpclass
Popularity score: 391.06
Vitality score: 46.59

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (89.8%)
Good (86.4%)
-
Good (81.0%)
Sufficient (77.5%)
-
Sufficient (69.4%)
186
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 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

File Role Description
Plain text file http.php Class HTTP class file
Plain text file LICENSE.txt Lic. BSD like license
Plain text file test_cookies.php Test Unit test script to verify cookie manipulation functions
Plain text file test_http.php Example HTTP class test page script
Plain text file test_http_cookies.php Example Script to test cookie support
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
Plain text file test_http_post.php Example Emulate a form submission using HTTP POST submitting form field values including file uploads
Plain text file test_http_soap.php Example Example script on how to make a request to SOAP service
Plain text file yahoo_export_address_book.php Example Script to login in Yahoo and export the user address book
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products