php malformed header from script

james@jamesmcdonald.id.au james
Wed Feb 22 01:01:55 PST 2006


>> > > If you run it as "php phpscript.php" does that give you any info?
>> > >
>> >
>> > php ./buttons.php3 (it's really a php4 script) works just fine.  Only
>> > when run via the web server does it bomb.
>> >
Have you fixed this problem yet?

My Suggestion is check for whitespace and \r or \n before and after the
opening and closing <?php ?> tags
I found that some of the problems saying incorrect header was due to
either them being there or not... can't remember which.






More information about the Linux-users mailing list