Ok now my phproxy seems hard to edit Like if I try and type text on or around the proxy it makes a blue background even if I don't want it. And I also cant change link colors. Can I get some help
Code:
<?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();
}
?>
<meta name="generator" content="Metaper.com" />
<meta name="description" content="Gotbanned is a web-based anonymous proxy service which allows anyone to surf the Web privately and securely. Unlike other proxies,
there is no software to install or complicated instructions to follow. Just enter a URL (website address) in the form above.
Through Gotbanned you can use websites but they cannot uniquely identify or track you.
Gotbanned hides your IP address and our encrypted connection
prevents monitoring of your network traffic.
Once using Gotbanned, you can surf normally
and forget that it is there, protecting you.
" />
<meta name="revisit-after" content="3" />
<meta name="rating" content="General" />
<meta name="copyright" content="Gotbanned 2006-2007" />
<meta name="robots" content="Index Pages" />
<meta name="keywords" content="Filter, myspace unblocker, myspace proxy, unblock myspace , Blocked, Unblock, , unblocked school, not blocked" />
<meta name="author" content="Luke Evans" />
<META name="verify-v1" content="Ux5t9FcFNvvqr0d47WN8eA0eTE70bgiJgtg3Kkrwkm4=" />
<!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" lang="en-US" xml:lang="en-US"><style type="text/css">
<!--
a:link {
color: #335EA8;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #196CC1;
}
a:hover {
text-decoration: none;
color: #2578CD;
}
a:active {
text-decoration: none;
color: #2578CD;
}
.style37 {color: #1764B4}
-->
</style><head>
<title>Got Banned? - Online Proxy anonymous proxy - surf the Web privately and securely FREE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="/style.css" media="all" />
<script src="javascript.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {color: #a3a1a1}
.style4 {color: #FFFFFF}
body {
background-color: #000000;
}
.style7 {color: #196CC1}
.style8 {
color: #196CC1;
font-size: 16px;
font-family: "Trebuchet MS";
}
.style11 {font-family: "Trebuchet MS"}
.style16 {font-family: "Trebuchet MS"; font-size: 10px; }
.style18 {color: #196CC1; font-size: 10px; }
.style23 {color: #196CC1; font-size: 12px; }
.style31 {color: #1467BC}
.style32 {font-family: Arial, Helvetica, sans-serif}
.style33 {
color: #1764B4;
font-weight: bold;
}
.style34 {font-size: 14px}
.style36 {font-size: 14px; font-weight: bold; color: #1764B4;}
-->
</style>
</head>
<body>
<div align="center" ">
<p class="style32"><span class="style37 style36">Site Links : </span><a href="index.php">Home <span class="style33">| </span></a><a href="advertise.php">Advertise</a> <span class="style34 style31">| </span><a href="links.php">Links</a
><span class="style37"> |</span><a href="TOS.php"> Terms </a></p>
</div>
<center><a href="http://www.talkdevelopers.com/"><img src="TalkDevelopers2-468x60-2.jpg" alt="TalkDevelopers.com" width="468" height="60" border="0" /></a></center>
<div align="center">
<p align="center"><img src="logo.png" width="577" height="121"/></p>
<div align="center">
<ul>
<li><span class="style7" align="center"><a href="http://www.gotbanned.info" class="style4"><strong>Gotbanned</strong></a> is a web-based anonymous <strong>proxy</strong> service which allows anyone to surf the Web privately and securely. Unlike other proxies,<br />
there is no software to install or complicated instructions to follow. Just enter a URL (website address) in the form above.<br />
Through <strong><a href="http://www.gotbanned.info">Gotbanned</a></strong> you can use websites but they cannot uniquely identify or track you.<br />
<a href="http://www.gotbanned.info">Gotbanned</a> hides your IP address and our encrypted connection <br />
prevents monitoring of your network traffic. <br />
Once using <a href="http://www.gotbanned.info">Gotbanned</a>, you can surf normally <br />
and forget that it is there, protecting you.</span><br />
<br />
<span class="style7">By Using this Site you <strong>AGREE</strong> to the <a href="TOS.php">Terms Of Service </a></span></li>
</ul>
<span class="style7"><a href="about.php">About <strong>Anonymous Surfing</strong></a><strong></strong></span><br />
<center><!-- Begin: AdBrite -->
<script type="text/javascript">
var AdBrite_Title_Color = '66B5FF';
var AdBrite_Text_Color = '99C9FF';
var AdBrite_Background_Color = '000000';
var AdBrite_Border_Color = '000000';
</script>
<span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=xxxxx" type="text/javascript"></script><!--
--><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=222278xxxxxxx=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-banner-w.gif" style="background-color:#000000" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
<!-- End: AdBrite --></center> <br />
<center></center></div>
<ul><li></li>
</ul>
<center>
</div>
<noscript>
<div class="error">
<div align="center" class="style11"><strong><big>You have Javascript disabled. Please enable it to use the proxy</big></strong></div>
</div>
</noscript>
<?php
if (isset($_GET['error']))
{
echo '<div class="error"><b>Error:</b> ' . htmlspecialchars($_GET['error']) . '</div>';
if (isset($_GET['retry']))
{
echo '<div class="error"><a href="'. $PHProxy->Gotbanned_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: 100%">';
echo '<tr><td class="option" colspan="5"><a href="?action=cookies&delete=all">Clear All Cookies</a></td></tr>';
echo '<tr><td class="head">Name</td><td class="head">Domain</td><td class="head">Path</td><td class="head">Value</td><td class="head">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 class="error">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" class="option">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%" class="option">User name</td><td class="option"><input type="text" name="username" value="" /></td></tr>';
echo '<tr><td width="30%" class="option">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'] ?>">
<div align="left">
<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="" />
</div>
</form>
<form name="<?php echo $PHProxy->config['proxy_settings_form_name'] ?>" method="get" action="" onSubmit="return submit_form();">
<table width="76%" style="width: 100%">
<tr>
<td class="option" style="width: 80%"><div align="center" class="style1">
<div align="left">
<p align="center" class="style8">Enter Target URL Below: <br />
<img src="sonic.png" alt="Proxy" width="60" height="50" />
<center>
</p>
</div>
</div>
<p align="center">
<input name="url" type="text" class="style11" value="http://www." size="60" />
</p></td>
</tr>
<tr>
<td class="option" style="width: 80%"><div align="center">
<div align="center"><center><script type="text/javascript"><!--
google_ad_client = "pub-xxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2007-01-06: imageads
google_ad_channel = "xxxxxx";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </div>
<p align="center">
<input type="submit" name="browse" value="Browse!" onClick="return submit_form();" />
</p>
<p align="center">
<input type="checkbox" name="new_window" />
<span class="style18">Open URL in a new window</span></p>
<table width="400" border="0" align="center">
<tr>
<th scope="row"><table width="400" border="0" align="center">
<tr>
<th class="style7" scope="row"><div align="center" class="style23"><?php echo $PHProxy->options_list(false, false) ?></div></th>
</tr>
</table>
<p class="style16"> </p></th>
</tr>
</table>
</div></td>
</tr>
</table>
<div align="center"></div>
<div style="text-align: center"></div>
<div align="center"></div>
<div align="center" class="style4"></div>
</form>
<?php
}
echo '</div></body></html>';
?>