<form action="beklet.php" method="get">
olarak değiştirin ve kodu bu şekilde güncelleyin.
if (isset( $_POST["site"] ))
{
$_SESSION["site"] = $_POST["site"];
}
else
{
$_SESSION["site"] = $_GET["site"];
}Yeni gidilen sayfa beklet.php?site=http://google.com gibi olacaktır. Birisi dışarıdan bu adres ile gelirse $_POST yerine $_GET kullanılacak.