.html or.php extension
| From: | E . H . Terwiel | Date: | Thu, 05 Feb 2004 22:15:25 +0000 |
| Subject: | .html or.php extension | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177146@lists.php.net to get a copy of this message | ||
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