View Single Post
  #8 (permalink)  
Old 10-22-03, 09:42 AM
YourPHPPro's Avatar
YourPHPPro YourPHPPro is offline
Community VIP
 
Join Date: Aug 2003
Posts: 430
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by ZeoFateX
Is it at all possible to use PHP in a .html page. My server uses PHP,MySQL, etc but I built one website completely in HTML.
The easiest way would be to edit the configuration file for the webserver (example is for apache) and add:

Quote:
AddType application/x-httpd-php .php .phtml .php4 .php3 .html .htm
The second easiest way would be to edit the directory configuration file (.htaccess for apache) and add:

Quote:
AddType application/x-httpd-php .php .phtml .php4 .php3 .html .htm
Reply With Quote