Posted by Steven Saunderson on 04/22/07 08:28
On 22 Apr 2007 00:46:06 -0700, Desmond <otuatail@aol.com> wrote:
> What I ment is you cant use the statment
>
> <?php
> include "filename.html";
> ?>
> on a file with an extension of .html it will not work the file has to
> be changed to .php.
> php is not used in PURE html
I don't think the extension of the filename of the included file
matters. I have PHP scripts that 'include' files such as index.inc and
these files contain PHP statements that are parsed correctly.
--
Steven
[Back to original message]
|