Skip to content Skip to sidebar Skip to footer

PHP In HTML Files Not Running Or Being Commented Out

First of all, I am not trying to run php within a js script, there is a similar question on here that refers to a user trying to run php from inside a js script. I have added many

Solution 1:

You can try to use mod_rewrite for that task:

RewriteEngine On
RewriteRule ^(.*).html index.php [QSA]

Post a Comment for "PHP In HTML Files Not Running Or Being Commented Out"