f 'q', 'flags_var_name' => 'hl', 'get_form_name' => '__script_get_form', 'proxy_url_form_name' => 'poxy_url_form', 'proxy_settings_form_name' => 'poxy_settings_form', 'max_file_size' => -1 ); $flags = 'prev'; if (isset($_GET[$config['flags_var_name']])) { $flags = $_GET[$config['flags_var_name']]; } $PHProxy = & new PHProxy($config, $flags); if (isset($_GET[$PHProxy->config['get_form_name']])) { $url = decode_url($_GET[$PHProxy->config['get_form_name']]); $qstr = preg_match('#\?#', $url) ? (strpos($url, '?') === strlen($url) ? '' : '&') : '?'; $arr = explode('&', $_SERVER['QUERY_STRING']); if (preg_match('#^'.$PHProxy->config['get_form_name'].'#', $arr[0])) { array_shift($arr); } $url .= $qstr . implode('&', $arr); $PHProxy->start_transfer(encode_url($url)); echo $PHProxy->return_response(); exit(); } if (isset($_GET[$PHProxy->config['url_var_name']])) { $PHProxy->start_transfer($_GET[$PHProxy->config['url_var_name']]); echo $PHProxy->return_response(); exit(); } if (isset($_GET['action'], $_GET['delete']) && $_GET['action'] == 'cookies') { $PHProxy->delete_cookies($_GET['delete']); header("Location: $PHProxy->script_url?action=cookies"); exit(); } My Proxy
Site hosted by Angelfire.com: Build your free website today!
PHProxy
Error: ' . htmlspecialchars($_GET['error']) . '
'; if (isset($_GET['retry'])) { echo '
Retry
'; } } if (isset($_GET['action'])) { if ($_GET['action'] == 'cookies') { $cookies = $PHProxy->get_cookies('COOKIE', false); } } else if ($_GET['action'] == 'auth' && isset($_GET['server'], $_GET['realm'], $_GET['auth_url'])) { echo '
'; echo ''; echo ''; echo ''; echo '
'; } } else { ?>
options_list(true, true) ?>
URL 
New WindowOpen URL in a new window
'; ?>