qqwe 发表于 2018-12-20 11:00:21

[原创]PHP重定向三种方法

PHP重定向三种方法::
(1).如果要用此方法,在用之前不能有HTML输出。(***)
$url="http://winty.ik8.com";
header("Location: $url");
(2).
echo "window.location =\"test.php\";";

将window.location换成self.location
(3).
echo "";


页: [1]
查看完整版本: [原创]PHP重定向三种方法