PHP Classes

Little PHP Proxy: Show remote pages as if they from the current site

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 43%Total: 3,246 All time: 1,078 This week: 325Up
Version License PHP version Categories
little_php_proxy 1.07.1GNU General Publi...4.3HTML, HTTP, PHP 5


This class can be used to browse remote Web site pages as if they were from the current site.

It retrieves pages of remote sites, parses the page HTML to translates all the URLs of links, images, Javascript, etc.. to map them to URLs of the current site that make the same class retrieve those remote resources via the current script using the class.

-URL can be encoded in base64(for use thought proxy)

Innovation Award
PHP Programming Innovation award winner
July 2008

Prize: One book of choice by Apress
In some countries there are legal restrictions that prevent users from browsing certain foreign Internet sites.

This class provides a clever workaround that allows users browse any Internet site bypassing local filters.

A PHP proxy script is used to access remote sites and retrieve the forbidden site pages. Those pages are exhibited as if they were from the proxy site.

Manuel Lemos
Picture of Andrey Nikishaev
Name: Andrey Nikishaev is available for providing paid consulting. Contact Andrey Nikishaev .
Classes: 13 packages by
Country: Ukraine Ukraine
Age: 37
All time rank: 2556 in Ukraine Ukraine
Week rank: 398 Down7 in Ukraine Ukraine Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file proxy.php Appl. php proxy
Accessible without login Plain text file proxy_class.php Class main class
Accessible without login Plain text file proxy_class_for_php4.php Class proxy class for php4
Accessible without login Plain text file starpage.htm Example starpage for proxy with base64 autoencoding of entered URL

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,078
This week:325Up
User Ratings User Comments (6)
 All time
a little out of date but it works fine.
6 years ago (zinsou A.A.E.Mo´se)
Youre a bloody genius! Many, many thanks!!!
10 years ago (Aleksandar Nikolic)
didn't work for me typos in code (samlpe.
13 years ago (Dmitriy Ilyin)
misspelled links make it unusable out of the box.
13 years ago (Jon)
Very interesting utility.
15 years ago (Mark Voorberg)
Very nice idea, this might prove very useful for privacy conc...
15 years ago (etmerde)