<?
$s = $_SERVER[‘QUERY_STRING’];
if ($s == "http://www.baidu.com");
{
$s = "http://www.qq.com";
}
if ($s == "http://www.hao123.com");
{
$s = "http://www.mycodes.net";
}
header("Location:".$s."");
?>