<?php
require 'PHProxy.class.php';
$config = array
(
'url_var_name' => '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();
}
if (isset($_POST['username'], $_POST['password'], $_POST['server'], $_POST['realm'], $_POST['auth_url']))
{
$PHProxy->request_method = 'GET';
$PHProxy->url_segments['host'] = decode_url($_POST['server']);
$PHProxy->set_authorization($_POST['username'], $_POST['password']);
$PHProxy->start_transfer($_POST['auth_url']);
echo $PHProxy->return_response();
exit();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Proxies R Us - We're No Toy! We're a Proxy, and More! Proxy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Copyright" content="Proxies R Us"/>
<meta http-equiv="content-language" content="EN"/>
<meta name="Rating" content="General"/>
<meta name="Designer" content="Proxies R Us"/>
<meta name="Keywords" content="Free Proxy, Free Web Proxy, Free Proxy List, Proxy Lists, Free Anonymous Browsing, Free Text Message Proxy, Free Image Hosting Proxy"/>
<meta name="revisit-after" content="1"/>
<meta name="Robots" content="index,follow"/>
<meta name="Description" content="We're No Toy! We're a Proxy, and More! Proxy, Image Hosting, Text Messaging and Software"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<meta name="Author" content="Proxies R Us"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<link href="css/1.css" rel="stylesheet" type="text/css" />
<script src="javascript.js" type="text/javascript"></script>
</head>
<body>
<center>
<div id="menu"><a href="index.php">PROXY</a> <a href="msg.php">SEND TEXT MESSAGES FREE</a> <a href="games.php">PLAY FLASH GAMES NOW</a> <a href="software.php">BROWSE MYSPACE SAFE, SHARE PICTURES EASY </a></div>
<div id="header">
<h1>PROXIES R US </h1>
<h2> WE'RE NO TOY! WE'RE A PROXY, AND MORE! </h2>
</div>
<div id="content">
<img src="images/icons/proxy.gif" alt="Proxies R Us Logo" width="100" height="100" class="logo" />
<p><span class="introduction">Proxies R Us is a anonymous proxy that lets you make indirect connections hiding all your personal information. With Proxies R Us, you can browse websites when you get banned. You can easily
bypass webfilters that are set up by the school or company server you want to visit the site from. No need to search for long IP
proxy list, with Proxies R Us you can do everything that is possible with a proxy!</span></p>
<div id="sidebar">
<h1>FUN LINKS </h1>
<div class="submenu">
<div align="right">
<?php include("inc/1.php"); ?>
</div>
</div>
<h1>SPONSORS</h1>
<div class="submenu">
<?php include("inc/2.php"); ?>
</div>
<h1>FREE SOFTWARE</h1>
<div class="submenu">
<div align="center">
<?php include("inc/3.php"); ?>
</div>
</div>
</div>
<div id="mainbar">
<h1>PROXY, BROWSE SAFELY!</h1>
<div id="menu2">
<a href="<?php echo $_SERVER['PHP_SELF'] ?>">URL FORM</a> |
<a href="?action=cookies">Manage Cookies</a>
</div>
<noscript>
<div align="center"><big>You have Javascript disabled. Please enable it to use the proxy</big>.</div>
</noscript>
<?php
if (isset($_GET['error']))
{
echo '<div><b>Error:</b> ' . htmlspecialchars($_GET['error']) . '</div>';
if (isset($_GET['retry']))
{
echo '<div><a href="'. $PHProxy->proxify_url(decode_url($_GET['retry'])) .'">Retry</a></div>';
}
}
if (isset($_GET['action']))
{
if ($_GET['action'] == 'cookies')
{
$cookies = $PHProxy->get_cookies('COOKIE', false);
if (!empty($cookies))
{
echo '<table style="width: 30%">';
echo '<tr><td colspan="5"><a href="?action=cookies&delete=all">Clear All Cookies</a></td></tr>';
echo '<tr><td>Name</td><td class="head">Domain</td><td>Path</td><td>Value</td><td>Action</td></tr>';
for ($i = 0; $i < count($cookies); $i++)
{
$j = $i&1 ? ' class="shade"' : '';
echo "<tr><td$j>{$cookies[$i][0]}</td><td$j>{$cookies[$i][1]}</td><td$j>{$cookies[$i][2]}</td>"
. "<td$j>" . wordwrap($cookies[$i][3], 15, ' ') ."</td><td$j><a href=". '"?action=cookies&delete='. md5(implode('', $cookies[$i])) . '">delete</a></td></tr>';
}
echo '</table>';
}
else
{
echo '<div>No cookies available.</div>';
}
}
else if ($_GET['action'] == 'auth' && isset($_GET['server'], $_GET['realm'], $_GET['auth_url']))
{
echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '">';
echo '<input type="hidden" name="server" value="'. $_GET['server'] .'" />';
echo '<input type="hidden" name="realm" value="'. $_GET['realm'] .'" />';
echo '<input type="hidden" name="auth_url" value="'. $_GET['auth_url'] .'" />';
echo '<table style="width: 100%">';
echo '<tr><td colspan="2">Enter user name and password for <b>' . decode_url($_GET['realm']) . '</b> at <i>' . decode_url($_GET['server']) . '</i></td></tr>';
echo '<tr><td width="30%">User name</td><td class="option"><input type="text" name="username" value="" /></td></tr>';
echo '<tr><td width="30%">Password</td><td class="option"><input type="password" name="password" value="" /></td></tr>';
echo '<tr><td colspan="2" style="text-align: center"><input type="submit" value="OK" /></td></tr>';
echo '</table>';
echo '</form>';
}
}
else
{
?>
<form name="<?php echo $PHProxy->config['proxy_url_form_name'] ?>" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
<input type="hidden" name="<?php echo $PHProxy->config['url_var_name'] ?>" value="" id="url_input" />
<input type="hidden" name="<?php echo $PHProxy->config['flags_var_name'] ?>" value="" />
</form>
<form name="<?php echo $PHProxy->config['proxy_settings_form_name'] ?>" method="get" action="" onsubmit="return submit_form();">
<table style="width: 100%">
<tr><td style="width: 30%">URL</td><td style="width: 80%">ย <input type="text" name="url" size="50" value="" /></td></tr>
<?php echo $PHProxy->options_list(true, true) ?>
<tr><td style="width: 30%">New Window</td><td style="width: 80%"><input type="checkbox" name="new_window" />Open URL in a new window </td></tr>
</table>
<div style="text-align: center"><br />
<input type="submit" name="browse" value="Browse Website" onclick="return submit_form();" /> </form>
<br />
<h1>WHAT IS MY IP? </h1>
<?php
echo '<p><span class="info">Your IP is</span><span class="ip"> <b>'.$_SERVER["REMOTE_ADDR"].'</b><br>
<br>
</span><span class="info"><strong>Definition:</strong> The Internet Protocol (IP) is a network layer protocol that moves data between host computers.</span></p>
<p><span class="info"><strong>Importance:</strong> If your IP is publicly displayed, it can be very harmful to your computer. To prevent problems, use the proxy form above. Be safe!</span></p>';
?>
<h1>WHAT IS MY BROWSER? </h1>
<?php
echo '<span class="info">You are using the browser <strong>'.$_SERVER["HTTP_USER_AGENT"].'</strong></span><br>
<br>';
echo '<a href="software.php" class="info">We reccomend using Mozila FireFox for a safer internet experience!</a>';
?>
</div>
<p>
<br />
<?php
}
?>
</p>
<p>ย </p>
<p>ย </p>
<p>ย </p>
<p>ย </p>
<p>ย </p>
</div>
</div>
<div id="footer"><a href="index.php">Proxy</a> | <a href="msg.php">Send Text Messages Free</a> | <a href="games.php">Play Flash Games Now</a><a href="http://upload.proxiesrus.com"></a> | <a href="software.php">Browse Myspace Safe, Share Pictures Easy </a> | <a href="mailto:[email protected]">Contact</a> <br />
ยฉ 2006 Proxies R Us</div>
</center>
</body>
</html>