php在线代理转向代码
程序员文章站
2022-03-20 12:37:21
复制代码 代码如下:
<?php
if ($_request['url'])
{
header('location:http://bcd.allowed.org/0/?url='.base64_encode(strrev($_request['url'])));
}
else
{
echo "<form method='post' action='proxy.php'>
url:<input name='url' type='text' value=\"\" />
<input type='submit' value=\"go\" />
</form>";
}
?>
复制代码 代码如下:
<?php
if ($_request['url'])
{
header('location:http://bcd.allowed.org/0/?url='.base64_encode(strrev($_request['url'])));
}
else
{
echo "<form method='post' action='proxy.php'>
url:<input name='url' type='text' value=\"\" />
<input type='submit' value=\"go\" />
</form>";
}
?>