|
Posted by one man army on 01/22/06 01:33
In article <Z7CdnRxLk-VvA0_eRVn-jQ@comcast.com>,
Jerry Stuckle <jstucklex@attglobal.net> wrote:
> >>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> >>> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
> >
> > Oh! the Doctype counts. I did not see that anywhere. (thanks Kimmo)
> >
> > also, the file is called index.html. I would like to keep that.
> > .....
>
> That explains it.
>
> You either need to use a .php extension, or you need to change your
> Apache configuration to parse .html files as php code. But that will
> cause ALL .html files to be parsed, whether they contain php code or not.
hmmm, that's why I asked about the 'rules'. Because I have had
snippets of PHP inline in the files so far, and it works. That's
confusing.
Perhaps the first chars of the file determine whether HTML or PHP
extension is needed? Where is this documented?
[Back to original message]
|