View Single Post
Old 2004-09-28, 08:57 AM   #7
Opti
I Didn't Do It
 
Opti's Avatar
 
Join Date: Aug 2003
Location: au
Posts: 795
Send a message via ICQ to Opti
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>
Opti is offline   Reply With Quote