PHP Classes
elePHPant
Icontem

gHttp: Stream wrapper to send HTTP POST and GET requests

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-07-30 (11 years ago) RSS 2.0 feedStarStarStar 56%Total: 2,575 All time: 1,467 This week: 364Up
Version License PHP version Categories
ghttp 1.0Public Domain3.0HTTP, Stream wrappers
Description Author

This class implements an HTTP stream wrapper that can be used to access Web pages like files.

It can submit HTTP POST and GET requests using regular PHP access functions with support for authentication and using proxy servers.

It provides the stream wrappers ghttp, phttp, ghttps and phttps for performing HTTP GET and POST requests respectively using SSL or not.

The can also be used as replacement of the regular HTTP stream wrappers under PHP 5.1 or later.

Optionally, it can cache the responses of the same HTTP requests in files of a given directory.

Innovation Award
PHP Programming Innovation award nominee
August 2007
Number 10
PHP can access remote Web pages as if they are files since stream wrapper support was introduced in version 4.3.

However, the current built-in HTTP stream wrapper has some limitations that make it difficult to send special kinds of HTTP requests.

This package provide alternative stream wrappers that overcome some of the limitations of the original PHP HTTP stream wrappers, like submitting POST requests, accessing sites that requires special types of authentication, using HTTP proxies, and the support for HTTP response caches.

Manuel Lemos
  Performance   Level  
Name: Cesar D. Rodas <contact>
Classes: 39 packages by
Country: Paraguay Paraguay
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Plain text file gHttp.php Class Main class
Accessible without login Plain text file gHttp.test.php Example example
Accessible without login Plain text file gHttp.test.trackback.php Example Test of POST query...

Downloadghttp-2007-07-30.zip 4KB
Downloadghttp-2007-07-30.tar.gz 3KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP HTTP protocol client Download .zip .tar.gz This class is the base for open HTTP Required
 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:2,575
This week:0
All time:1,467
This week:364Up
User Ratings User Comments (1)
 All time
Utility:84%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1653
 
include(http.
1 year ago (zinsou A.A.E.Moïse)
57%StarStarStar