If you start with one index.php then use that to include additional files, it should accept any file, even with no extension. At least it works that way for me.

E . H . Terwiel wrote:

My PHP system demands that files to be interpreted by PHP MUST have
the .php extension.
If I have an .html file with <?php ....?> in it, it won't interpret
the PHP code.
Unlike JavaScript, f.i.
Is there a way to make the server do the PHP code anyway, in an HTML
file ? Or must the action yes-php/no-php be taken before looking into
the file ?

The other way around is ok: put HTML code in a .php file...

frgr Erik

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to