Include PHP file inside the html file
by Nirmala[ Edit ] 2009-08-10 12:27:30
Hi...
Two way to include php file inside the html file.
(*) Change Apache configuration file.
(*) Rename .html to .php.
Change Apache Configuration:
Just include the below code into your apache conf file and restart your apache.
AddType application/x-httpd-php3 .php3 .phtml .php .html .shtml .htm
Rename .html to .php:
Rename .html file into .php file and then include your php file anywhere in that page.