FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cron job and headers sent error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cron job and headers sent error [message #182770 is a reply to message #182769] Sun, 08 September 2013 19:34 Go to previous messageGo to previous message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma:
Senior Member
On Sun, 08 Sep 2013 08:35:16 -0700, Richard Yates wrote:

> On Sun, 08 Sep 2013 16:40:30 +0200, "J.O. Aho" <user(at)example(dot)net>
> wrote:
>
>> This is a warning you usually get when you have white spaces or bom
>> sequence in your files. Check all your files that are used, that they
>> do not have anything before or after the PHP tages (<?php and ?>).
>
> Thanks. I will check again for spaces. What is 'bom sequence'?

"byte order marker", which several editors will stick on the front of
text files that contain unicode (including utf-8) data, for purposes of
identifying that file as containing unicode text. Nice for some things,
horrible for PHP because it may/will damage the output in some way.
Especially by wrecking your opportunity to set your own headers.

http://en.wikipedia.org/wiki/Byte_order_mark

--
38. If an enemy I have just killed has a younger sibling or offspring
anywhere, I will find them and have them killed immediately,
instead of waiting for them to grow up harboring feelings of
vengeance towards me in my old age. --Anspach's Evil Overlord list
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Mac OS X ML] how to install MongoDB driver
Next Topic: Trouble-shooting a script that doesn't retuen HTML
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 21:19:30 GMT 2024

Total time taken to generate the page: 0.04773 seconds