"Jan Boonen" <[EMAIL PROTECTED]> wrote:
> After some hours of puzzling I found the error. It had to do with some
> spaces after the closing PHP tags (?>). These generated the famous
> "headers already sent..." error. On Windows this extra space doesn't
> cause any problems, but on Linux it does ;-)

Maybe it not only had spaces, but also DOS line ending characters?
That causes all sorts of problems, including ones I wrote about in
http://mjr.towers.org.uk/blog/2007/badtech#cgilineendstupidity
I wouldn't be surprised if PHP on Linux ignored only the Unix
line-endings and not the DOS ones.

Regards,
-- 
MJ Ray <[EMAIL PROTECTED]>  www.ttllp.co.uk  +44-870-4321-9-10
Web, localisation, koha, databases, GNU/Linux and statistics.
Registered in England and Wales, partnership number OC303457
Reg. Office: 36 Orchard Cl., Kewstoke, Somerset, GB-BS22 9XY

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to