This topic is locked

Stray characters at the beginning of the doc-from the header.php?

1/27/2007 11:20:41 AM
PHPRunner General questions
D
deanmeistr author

I have noticed stray characters appearing right before the header once I create a header file; am I missing some code to insert to keep this from happening? Here's a sample of my header file (as short as it is:)

                          • -
                            <?php

                            echo <<< EOH

                            <img src="./images/headergraphic.jpg" alt="my header graphic title"><br/>

                            EOH;

                            ?>

























                          • I save it to a file called header.php, it goes into the include directory, and it does the job, except it's always preceded by the following two characters, regardless of the browser/platform (have tried it on XP, OS X, IE 6, 7, Firefox 1.5, 2, Safari) :
                            
                            any suggestions?
                            Dean Meyers

























J
Jane 1/29/2007

Dean,
I wasn't able to reproduce this issue.

Please upload your files to the Demo Account and send link to the [email=support@xlinesoft.com]support@xlinesoft.com[/email].

D
deanmeistr author 1/29/2007

I'll do that tomorrow, in the mean time, check the following link--the large graphic comes out of the header file, and you will see the stray characters to the left aligned with the baseline of the graphic. This also happens with another server where I have build the files, then built the header file in BBEdit.
http://www.nightingale-bamford.org/comm_service
Thanks for looking--Dean

Sergey Kornilov admin 1/30/2007

Try to run BBEdit's Zap Gremlins command to get rid of stray characters.