have php parse .html files, no access to server setup.
| From: | Robert Foster | Date: | Mon, 28 Oct 2002 19:46:53 +0000 |
| Subject: | have php parse .html files, no access to server setup. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8940@lists.php.net to get a copy of this message | ||
I would like to be able to have my Hosted web server parse my .html
files for php commands also, instead of just files with the .php
extension. Currently only .php files are parsed by PHP. Is it possible
to do this with an .htaccess file? What directory should I put the
.htaccess file in? An example would be great.
Also, any security problems having .html files parsed by php for php
commands?
Thanks,
Bob.