PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 664 This week: 1All time: 4,855 This week: 560Up
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
Age: ???
All time rank: 2223138 in Germany Germany
Week rank: 416 Up16 in Germany Germany Up

  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:664
This week:1
All time:4,855
This week:560Up