On Jan 16, 6:50 pm, powtac <[EMAIL PROTECTED]> wrote:
> Avoid having whitespaces before in pure php-files.
It's also possible that this is a UTF-8 Byte Order Mark issue, check
out
http://www.w3.org/International/questions/qa-utf8-bom
M.
--~--~-~--~~~---~--~~
You
Avoid having whitespaces before in pure php-files.
A q'n'd trick is to remove the trailing ?> in pure php-files to avoid
this problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to thi
It's quite simple, really. HTTP headers must be sent before any real
data, so sending data makes further sending of headers impossible. In
PHP files, anything not inside '' tags is output directly
to the browser.
The issue is not *really* limited to whitespace, it's just that
anything other than
Whitespaces are the bane of my CakePHP existence. Just released a
program that I developed on a PHP5 dev server to a PHP4 host and got
a ton of "Cannot modify header information" errors whenever I use
$this->redirect X ( . I guess this is more of a rant than anything but
my question is: Can anyon