header

header("Location:'http://baidu.com'");
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9542854.html