PHP Classes
elePHPant
Icontem

PHP Simple HTTP Request: Send HTTP 1.1 requests via TCP socket connections

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-07-05 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 635 All time: 4,793 This week: 894Up
Version License PHP version Categories
simple-http-request 1.0.0BSD License4.0Networking, HTTP, PHP 5
Description Author

This class can send HTTP 1.1 requests via TCP socket connections.

It can send a HTTP request to a Web server with a given URL using parameters passed as an array.

The request user agent is configurable. Class constants are pre-defined with the user agent strings of several versions of Firefox, Chrome, Internet Explorer and Safari.

The class can also set and get the values of the HTTP request cookies.

It can return the HTTP response headers and body.

Picture of Tobias Marstaller
  Performance   Level  
Name: Tobias Marstaller <contact>
Classes: 3 packages by
Country: Germany Germany

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Simple Proxy-Code as an example
Plain text file HttpRequest.class.php Class The main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:635
This week:0
All time:4,793
This week:894Up