Forum Moderators: phranque
Okay - I have a PHP-based banner rotation "include" script but it requires that the file extension end in PHP.
I want to implement this script on several different websites - but all the indexed pages have .html extensions (and there are 2K+ pages).
I hacked around the problem by having the ad.php file be inserted via an <iframe> tag, but it is not the best solution, especially since iframes don't work with older browsers - and you can scroll around the iframe page.
I know that I could have mod rewrite send all .html requests to the new PHP pages - but is there a way to tell the server that it should .html files to have php instructions in it?
That seems much more efficient.
Thank you. (p.s. make that 2 chocolate cookies!).