tf2631 2016-05-28 10:59 采纳率: 0%
浏览 1062

这个跳转页面的代码,在本地集成环境下能用,上传到虚拟主机就报错

<?php
header("location: http://www.sina.com.cn");
?>

这是报错的内容:
Warning: Cannot modify header information - headers already sent by (output started at /data/home/qxu2149940371/htdocs/index.php:1) in /data/home/qxu2149940371/htdocs/index.php on line 2

  • 写回答

1条回答 默认 最新

  • threenewbee 2016-05-28 11:01
    关注
    评论

报告相同问题?