weekey 发表于 2009-11-18 19:03:54

redirect()跳转出现问题

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\CI\system\application\controllers\insert.php:1)

Filename: helpers/url_helper.php

Line Number: 541

Hex 发表于 2009-11-18 19:51:11

BOM 问题,请搜索 google,并检查 controllers/insert.php 第一行。
用 EmEditor 另存为 utf-8 无标签

weekey 发表于 2009-11-18 21:35:08

我用的是NetBeans IDE编写的

Hex 发表于 2009-11-20 16:31:26

不管用什么编辑器,也不能有 BOM,因为 PHP 不认这东西。

jianzhong5137 发表于 2010-4-20 10:54:50

爱,都是Bom惹的祸!:@

幽蓝冰魄 发表于 2010-8-9 13:23:42

恩,之前我的xml也遇到这个情况。
同lz,我也用NetBeans 6.9。这东西确实好用。
页: [1]
查看完整版本: redirect()跳转出现问题