Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10731

Re: cron job and headers sent error

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.lang.php
Subject Re: cron job and headers sent error
Date 2013-09-08 14:34 -0500
Organization A noiseless patient Spider
Message-ID <slrnl2pka5.nj3.hellsop@nibelheim.ninehells.com> (permalink)
References <tduo29dbnp2l23rjvvol64iveibjup6189@4ax.com> <b93giuFgnkfU1@mid.individual.net> <9j5p29tvpi13ssb2r3bq1brgvf7hosvr45@4ax.com>

Show all headers | View raw


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@example.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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cron job and headers sent error Richard Yates <richard@yatesguitar.com> - 2013-09-08 06:36 -0700
  Re: cron job and headers sent error "J.O. Aho" <user@example.net> - 2013-09-08 16:40 +0200
    Re: cron job and headers sent error Richard Yates <richard@yatesguitar.com> - 2013-09-08 08:35 -0700
      Re: cron job and headers sent error "Peter H. Coffin" <hellsop@ninehells.com> - 2013-09-08 14:34 -0500
      Re: cron job and headers sent error "J.O. Aho" <user@example.net> - 2013-09-08 22:30 +0200
        Re: cron job and headers sent error Richard Yates <richard@yatesguitar.com> - 2013-09-08 13:42 -0700
        Re: cron job and headers sent error T0xicCode <t0xic@co.de> - 2013-09-08 22:21 -0400
  Re: cron job and headers sent error Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-08 21:09 +0000
    Re: cron job and headers sent error Richard Yates <richard@yatesguitar.com> - 2013-09-09 04:29 -0700

csiph-web