PHP Classes

PHP server-side web browser: Browsing the Web via PHP

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
StarStarStar 52%Total: 5,441 All time: 468 This week: 89Up
Version License Categories
php_browser 1.0.0BSD LicenseHTML, HTTP
Description 

Author

This is a simple set of scripts with anonymizing support to do folowing:

1. Take a URL from user input

2. Connects to the server according to the URI, passing through redirects (Location header) and gets the reply headers of the final URL.

3a. If the content type of the URL is text/html, it parses the content and changes the values of some attributes of some tags (a, img, form) to point them to the script itself with original URL as a parameter.

3b. Other content types are not changed.

4. The content of the URL is sent to the user agent.

So one can browse Internet and the Web servers will see that the client is a hosting server.

It can be useful when:

1. You want to browse some URL and want that it sees your hosting IP instead of your browser machine address.

2. Your traffic to Internet is charged and to your hosting is not.

3. You want to check the connection between your hosting server and another other server.

Picture of Grigori Kochanov
Name: Grigori Kochanov is available for providing paid consulting. Contact Grigori Kochanov .
Classes: 7 packages by
Country: Ukraine Ukraine
Age: 46
All time rank: 1845 in Ukraine Ukraine
Week rank: 164 Up4 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (7)  
File Role Description
Accessible without login Plain text file frameset.php Example frameset
Accessible without login Plain text file GetUri.php Class class that works with HTTP
Accessible without login HTML file index.html Output index
Accessible without login HTML file location.html Output upper frame with URL entry field
Accessible without login Plain text file main.php Appl. script that organises all classes
Accessible without login Plain text file ParseHtml.php Class class that makes changes in HTML
Accessible without login Plain text file URI.class.php Class class that parses URI

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:5,441
This week:0
All time:468
This week:89Up
User Ratings User Comments (4)
 All time
Utility:78%StarStarStarStar
Consistency:76%StarStarStarStar
Documentation:-
Examples:57%StarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2317
 
a little old, need to be updated and improved.
7 years ago (zinsou A.A.E.Moïse)
55%StarStarStar
Don't work out of the box.
13 years ago (coverup)
30%StarStar
An excellent script.
15 years ago (Rodti MacLeary)
70%StarStarStarStar
Great thing, though it doesn't work for me with loads of pages.
15 years ago (Klaus-Uwe Mitterer)
62%StarStarStarStar