Login   Register  
PHP Classes

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Yacoub Hatem  >  Gonx Proxy  >  index.php  >  Download  
File: index.php
Role: Application script
Content type: text/plain
Description: Sample usage of the class
Class: Gonx Proxy
HTTP proxy to make remote pages be served as local
Author: By
Last change:
Date: 10 years ago
Size: 613 bytes


Class file image Download

 * gonxproxy Index
 * @package 
 * @author Ben Yacoub Hatem <hatem@php.net>
 * @copyright Copyright (c) 2004
 * @version $Id$ - 09/04/2004 14:45:36 - index.php
 * @access public


error_reporting(0); // Don't report error
@extract($_GET);    // if register globals if off
if (isset($url) and $url!="" and $proxy==1) {
$res gonxproxy::connect($url);
} elseif(isset(
$url) and $url!="" and !isset($proxy)){
$res gonxproxy::connect(base64_decode($url));

$res .= gonxproxy::form(); // Add GonxProxy form
echo $res;