第一种情况:header("Location:www.test.com");

第二种情况:header("Location:http://www.test.com");

 

今天在开发中使用了header进行重定向,原来上面的两种写法是有区别的,不知道大家有没有看出来了?

posted on 2014-04-02 13:43  坠落的数字  阅读(1104)  评论(0编辑  收藏  举报