Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 596 This week: 1All time: 4,741 This week: 1,380Up
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
Name: Tobias Marstaller <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 2131141 in Germany Germany
Week rank: 737 Up33 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:596All time:4,741
 This week:1This week:1,380Up