PDA

View Full Version : Re: Server Side Includes


shmickz
04-16-2002, 01:24 PM
Hello, i was just wondering why the server side includes werent working, do they have to be of extension .php to work? if so i have added a mime type of php to the extension .html and they still wont work although i may be using them wrong... some one please help... this is how i have them formatted...

<!-- #include file="inc/includefile.html" -->

that wrong?

prymal
04-16-2002, 04:24 PM
.shtml is the correct extension.

[edit]

also, the correct format is:
<!--#include file="blah/blah.html"" -->

...notice no space between the - and #

shmickz
04-16-2002, 08:54 PM
thank you so much, that space between the <!-- and the # is what did it, thank you sooo much!!!:D