Quote:
Originally Posted by DigitalTheory
exactly this, a php include will not work on an html page.
|
well it could work if you say apache to parse .html files as php ones...
you should add something like this to your htaccess
Code:
AddHandler application/x-httpd-php htm html
but that depends on server config (ask your hosting provider for this line).
this way you can use php inside .htm or .html files...
if you have lot's of .html files try to avoid this.
you can also do it by mod_rewrite...
hit me up for specific details
(icq in sig)