PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (147)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-02 (1 year ago) RSS 2.0 feedStarStarStarStar 69%Total: 44,239 This week: 17All time: 7 This week: 42Down
Version License PHP version Categories
httpclient 1.0.5BSD License3Networking, HTTP, Web services
Description Author

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.

Recommendations

Multiple search engine search retrieval and storage
Need a engine to query different search engines

Upload file to directory of my server with download link
How I can upload this file to my server with download link

Access file and get response from hosted domain to localhost
Send variable values from localhost to a PHP script in a domain

What is the best PHP http client class?
HTTP client for PHP version 5.3

  Performance   Level  
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 48
All time rank: 1
Week rank: 9 Down1 in Portugal Portugal Equal

Screenshots  
  • httpclient.gif
  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

Downloadhttpclient-2016-05-02.zip 33KB
Downloadhttpclient-2016-05-02.tar.gz 29KB
Install with ComposerInstall with Composer
Needed packages  
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
 Version Control Reuses Unique User Downloads Download Rankings  
 91%17
Total:44,239
This week:17
All time:7
This week:42Down
User Ratings User Comments (17)
 All time
Utility:89%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:82%StarStarStarStarStar
Tests:78%StarStarStarStar
Videos:-
Overall:69%StarStarStarStar
Rank:391
 
Excellent package.
3 years ago (Diol)
80%StarStarStarStarStar
like it
3 years ago (Samir Das)
80%StarStarStarStarStar
I've been using this class on a client side PHP-GTK2/Gnope GU...
4 years ago (NotInterested)
75%StarStarStarStar
Good ides and job!
5 years ago (Victor Storm)
75%StarStarStarStar
Great class, widely used.
6 years ago (MWL Online)
80%StarStarStarStarStar
Good
7 years ago (kishore kumar)
80%StarStarStarStarStar
stable script, robust but missing explanation of all options/...
8 years ago (Rosetree)
75%StarStarStarStar
Hi, I started using your class instead of Snoopy in my librar...
9 years ago (Kepler Gelotte)
80%StarStarStarStarStar
I really loved you HTTP and yahoo_user classes.
8 years ago (banbuu_nattchan)
72%StarStarStarStar
Wonderful pack!
8 years ago (Alex B. Snet)
80%StarStarStarStarStar
Excellent work, sir - this has saved a huge amount of effort.
8 years ago (Ken)
80%StarStarStarStarStar
This class saved my quite a bit of low-level socket programmi...
8 years ago (Klaus Kuplen)
70%StarStarStarStar
Huge great thanks!
9 years ago (dasdasd)
80%StarStarStarStarStar
Dear php professional that calss is really good but how can w...
9 years ago (Abdulkadir KUCUK)
72%StarStarStarStar
Very useful class
9 years ago (Murilo Klock Ferreira)
80%StarStarStarStarStar
Good Class
9 years ago (Mark Watson)
75%StarStarStarStar
The Lemos HttpClient class is the BEST-OF-THE-BEST (no doubt).
9 years ago (LeoLeo)
75%StarStarStarStar