php指定网址跳转代码实例
程序员文章站
2022-04-18 22:44:03
...
$s = $_SERVER['QUERY_STRING'];
if ($s == "http://www.baidu.com");
{
$s = "http://www.qq.com";
}
if ($s == "http://www.hao123.com");
{
$s = "http://www.bkjia.com";
}
header("Location:".$s."");
?>