<?php
/**
* 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
**/
require_once("gonxproxy.class.php");
@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;
?>
|