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: 417 This week: 1All time: 6,420 This week: 560Up
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 is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 54 packages by
Country: India India
Age: 45
All time rank: 21 in India India
Week rank: 109 Down9 in India India Down
Innovation award
Innovation award
Nominee: 15x

Winner: 4x

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:417
This week:1
All time:6,420
This week:560Up