Redirect Before HTML Page Load
This question already has an answer here:
使用PHP:
header('Location: login.php');
exit; //prevents further page loading
header('Location: '.$URL);
The best way I know. For a really good answer, check this out: How to make a redirect in PHP?
链接地址: http://www.djcxy.com/p/34702.html上一篇: 如何重定向到不同的URL
下一篇: 在HTML页面加载之前重定向