How do I make or workaround in my Apache server to parse *.html files
for
<?php ?> code embedded in it?
Currently php recognises <?php ?> tag only if the file has a *.php
extension. Any php code inside *.html or *.htm is ignored.
Since I dont have admin access to the server or admin person, changing
the php configuration is out of choice. Now I have to go thru echo
and print statemnets to get it work. But it looks very cumbersome and
prone to errors.
Any other suggestions to simplyfy my struggle?
TIA
Sam.
for
<?php ?> code embedded in it?
Currently php recognises <?php ?> tag only if the file has a *.php
extension. Any php code inside *.html or *.htm is ignored.
Since I dont have admin access to the server or admin person, changing
the php configuration is out of choice. Now I have to go thru echo
and print statemnets to get it work. But it looks very cumbersome and
prone to errors.
Any other suggestions to simplyfy my struggle?
TIA
Sam.
Comment