Quote:
Originally posted by Bill
Two beautiful methods, thanks much Wazza and Acidmax!
I'm a little more familiar with ssi than php, is there anything special that I have to do to get the php method to display on an html page?
(I know that to use the ssi method I have to insert the entries into htaccess to get ssi to display on an html page. I'm guessing there's a similar htaccess entry for php...)
|
this line in .htaccess will make all .html pages be parsed for php
AddType application/x-httpd-php html
or you can force for a particular file like this
<Files filename.html>
ForceType application/x-httpd-php
</Files>