To parse php files in the .html extension for webpages create a .htaccess file and insert the following code:AddType application/x-httpd-php .html
Upload
the file to your root directory. From now on everything on your website
with a .html extension will be equivalent to a php page.
You can also change or add extensions to the .htaccess file to whatever you want, e.g:AddType application/x-httpd-php .html .toseef
Now a page with the extension .toseef will also be parsed as a php file.
in Htaccess, Php