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: 657 All time: 4,825 This week: 364Up
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: 2218139 in Germany Germany
Week rank: 521 Up22 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:657
This week:0
All time:4,825
This week:364Up

For more information send a message to info at phpclasses dot org.