Server side include (SSI) inserts junk into page

I have a small technical problem that i hope someone can give me some advice for.

I’m trying to make the header and menu for my website be easy to update across many pages. So, i’m using Server Side Includes. However, the include is inserting junk text into the page at the beginning of the included material.

For example, i have a DIV enclosing the header, and the contents in a separate header.html file, like so:

< !--#include virtual="/include/header.html"-->
[space added before ! to make the line display]

The include inserts the contents as expected, but adds “”.

I’ve tried both html and php includes, and they both do the same thing.

And example page is here:

Does anyone have an idea on why this occurs or how i can fix it?

I’m using Visual Studio 2008 (though i hand-code everything).

That’s the Byte Order Mark for UTF-8.

Copy/paste your code into Notepad and resave.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost

Thanks, it worked. =)