If you need something like all of your's html pages to be run like php files you can do the steps below:-
Step 1
Create a .htaccess file on your root.
Step 2
And add the line below
AddType application/x-httpd-php .html .htm
Or if you are using the Godaddy server then code written below will work perfect
Options +ExecCGI
AddType application/x-httpd-php .php .html
AddHandler x-httpd-php5 .php .html
0 Comment(s)