PHP学习笔记之——跳转

来源:互联网 发布:python运行 编辑:程序博客网 时间:2024/06/05 10:16

<?php
 //重定向,在重定向之前不能有任何的输出到页面,否则报错
 header("Location:http://www.baidu.com");
 

?>