php网页指定网址跳转代码
<?
$s = $_SERVER['QUERY_STRING'];
if ($s == "http://www.baidu.com")
{
$s = http://zbbingyang.com;
}
if ($s == "http://www.itmop.com")
{
$s = "http://zbbingyang.com";
}
header("Location:".$s."");
?>
一般都是用【shì yòng】📎 header , 稍微高级点的【jí diǎn de】还要在【hái yào zài】header 再加上其它的🔔东西🧡
关键词:php,跳转代码
阅读本文后您有什么感想? 已有 人给出评价!
- 62
- 1
- 1
- 1
- 2
- 1