PHP Classes

PHP Proxy Anonymizer: Send requests to other sites using PHP as proxy

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 416 All time: 6,412 This week: 106Up
Version License PHP version Categories
anonymizer-proxy 1.0.0Free For Educatio...5.0Networking, HTTP, PHP 5
Description 

Author

This class can send requests to other sites using PHP as proxy.

It parses the current request URI to extract a keyword the specifies a remote site that should be accessed.

The class can forward GET and POST requests to the destination site defined by the specified keyword in the request URL.

Then it retrieves the destination site response and serves it back as the current script response.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan <contact>
Classes: 54 packages by
Country: India India
Innovation award
Innovation award
Nominee: 15x

Winner: 3x

Example

<?php
//Usage: {domain_name}/index.php/keyword
//EG: {domain_name}/index.php/duck

require("PhpAnonymizerProxy.inc.php");
$obj=New PhpAnonymizerProxy();

//Alias Array
$aliasArray=array();
$aliasArray['duck']="https://duckduckgo.com";
$aliasArray['php']="http://3v4l.org/";
$aliasArray['fbook']="https://www.facebook.com/";

$obj->setAliasArray($aliasArray);
$obj->setForceBaseUrl(TRUE);
$obj->init();
?>


  Files folder image Files  
File Role Description
Plain text file PhpAnonymizerProxy.inc.php Class Main Class
Accessible without login Plain text file index.php Example Example File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:416
This week:0
All time:6,412
This week:106Up