Hello,
I am trying to run PHP code in an HTML file. I wish to maintain the UX of my website by avoiding the .php extension on pages that my users see whenever possible.
For this reason, I am trying to find a way to run PHP within an HTML file. Upon doing research I found that it is possible to write a .htaccess file but was unsure what code to add to the .htaccess file so that it would work properly on Heliohost's servers (mine is Tommy).
For an Apache server for example, the .htaccess file to solve the issue would be :
AddType application/x-httpd-php .html
Please let me know the best way to achieve the desired functionality on Heliohost servers. Thanks.