PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 664 All time: 4,856 This week: 673Up
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: 2224138 in Germany Germany
Week rank: 170 Up11 in Germany Germany Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:664
This week:0
All time:4,856
This week:673Up