Posted by Colin McKinnon on 03/30/07 22:58
three-eight-hotel wrote:
> I'm somewhat of a newbie to PHP coding,
<snip>
> 99.9% of the feedback I have seen when dealing with the errors has
> referred to having whitespace before the <?php or after the ?>.
<snip>
> <?php
<snip>
> <?php require_once($_SERVER['DOCUMENT_ROOT'].'/common/includes/
<snip>
Hi Todd,
You're more likely to get sensible answers to your questions if you try to
keep to the point - read this:
http://www.catb.org/~esr/faqs/smart-questions.html
From what you've posted the most likely causes of the problem are:
1) the BOM marker at the start of a UTF-8 encoded source file - you *must*
save your files as ASCII.
2) an auto-prepend file specified in the php.ini or webserver config.
HTH
C.
Navigation:
[Reply to this message]
|