It should work if your host supports SHTML (and PHP and other server-side includes) - cheaper hosting packages and ISP free webspaces do not; except that I don't know if virtual works. I use #include file=.
Instead of an html file as the included file, try just the header code (no doctype, html tag, head section or body tags, just the code cut from a complete html file and replaced with
<!--#include file="header.txt"-->
note .txt file extension.
See
http://www.wickham43.net/serversideincludes.shtml
Edit:
http://httpd.apache.org/docs/1.3/howto/ssi.html
"Including a standard footer" says that you can use file= or virtual=
Last edited by Wickham; 11 Mar 2007 at 03:53 PM.
Code downloaded to my PC will be deleted in due course.
WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.