Bug #62780 [Opn->Nab]: Warning: Cannot modify header information

From: Date: Wed, 08 Aug 2012 20:44:40 +0000
Subject: Bug #62780 [Opn->Nab]: Warning: Cannot modify header information
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172511@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
 Updated by:         nikic@php.net
 Reported by:        info at businesscanvas dot in
 Summary:            Warning: Cannot modify header information
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Output Control
 Operating System:   win7
 PHP Version:        5.4.5
 Block user comment: N
 Private report:     N

 New Comment:

This does not belong in the bug tracker. Ask in some PHP forum. Or better: Don't ask there,
because people will be mad at you for asking well-covered, easily-Googleable questions. Here's
an extensive reference: http://stackoverflow.com/questions/8028957/headers-already-sent-by-php


Previous Comments:
------------------------------------------------------------------------
[2012-08-08 20:41:06] ajf at ajf dot me

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. :)

------------------------------------------------------------------------
[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


Thread (3 messages)

« previous php.bugs (#172511) next »