php指定网址跳转代码示例
发布时间:2022-01-15 14:17 所属栏目:121 来源:互联网
导读:php网址跳转代码实例: ? $s = $_SERVER[QUERY_STRING]; if ($s == http://www.baidu.com); { $s = http://www.qq.com; } if ($s == http://www.hao123.com); { $s = https://www.mycodes.net; } header(Location:.$s.); ?
php网址跳转代码实例: <? $s = $_SERVER['QUERY_STRING']; if ($s == "http://www.baidu.com"); { $s = "http://www.qq.com"; } if ($s == "http://www.hao123.com"); { $s = "https://www.mycodes.net"; } header("Location:".$s.""); ?> (编辑:ASP站长网) |
相关内容
网友评论
推荐文章
热点阅读