Edit report at https://bugs.php.net/bug.php?id=62780&edit=1
ID: 62780 Updated by: ni...@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