Bug #62780 [Com]: Warning: Cannot modify header information
| From: | ajf at ajf dot me | Date: | Wed, 08 Aug 2012 20:41:06 +0000 |
| Subject: | Bug #62780 [Com]: Warning: Cannot modify header information | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172510@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62780&edit=1
ID: 62780
Comment by: ajf at ajf dot me
Reported by: info at businesscanvas dot in
Summary: Warning: Cannot modify header information
Status: Open
Type: Bug
Package: Output Control
Operating System: win7
PHP Version: 5.4.5
Block user comment: N
Private report: N
New Comment:
That's a utf-8 site, no?
Maybe you're saving your files as UTF-8 with BOM. This means a UTF-8 encoded file
with a special byte (or maybe it's a few bytes) at the start to tell the browser
it's UTF-8. This would obviously break your php code since that would be sent
before your code. Try saving as UTF8 without BOM. :)
Previous Comments:
------------------------------------------------------------------------
[2012-08-08 13:22:18] info at businesscanvas dot in
Description:
------------
Warning: Cannot modify header information
tried to remoce all white spaces still giving the problem
user login id ravi pass ravi
Test script:
---------------
http://www.educationcanvas.com/Travelcorp/index.php
Expected result:
----------------
Warning: Cannot modify header information
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62780&edit=1