PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan  >  PHP Proxy Anonymizer  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example File
Class: PHP Proxy Anonymizer
Send requests to other sites using PHP as proxy
Author: By
Last change:
Date: 8 years ago
Size: 421 bytes
 

Contents

Class file image Download
<?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();
?>