April 25, 2008 at 12:00 pm
#766539
Inactive
@harold 158181 wrote:
thanks but the website is on a shared server and I don’t have to rights to change these settings nor does my provider want to change this..
You probably don’t need them to do it…just add this line to your .htaccess file….should do the trick:
[PHP]
AddType application/x-httpd-php .html .htm
[/PHP]
…and if that doesn’t then this might:
[PHP]
AddHandler application/x-httpd-php .php5 .php4 .php3 .php2 .php .phtml .html[/PHP]
Then you can just run PHP code inside the HTML files.