PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   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


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: 215 Down5 in Ukraine Ukraine Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:468
This week:89Up
User Ratings User Comments (4)
 All time
a little old, need to be updated and improved.
6 years ago (zinsou A.A.E.Mo´se)
Don't work out of the box.
13 years ago (coverup)
An excellent script.
15 years ago (Rodti MacLeary)
Great thing, though it doesn't work for me with loads of pages.
15 years ago (Klaus-Uwe Mitterer)