View Single Post
Old 04-19-2010, 04:49 PM  
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
Quote:
Originally Posted by DigitalTheory View Post
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)
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook