Posted by NC on 01/23/06 23:56
one man army wrote:
>
> I have looked for a definitive answer for this and have not found one.
The answer is very simple: when PHP code and HTML are put into a file
with *.php extension.
> for example, a file called xxx.html, marked
> DocType -//W3C//DTD HTML 4.01 Transitional//EN
Normally, HTTP servers are configured not to treat *.html files as
those that contain no executable code. So if you put PHP code into an
*.html file, it will not be executed.
Cheers,
NC
[Back to original message]
|