You can add this to htaccess to get html files to parse as php AddType application/x-httpd-php .html PHP:
After you update the .htaccess file, you should just be able to insert PHP into the html using a <?php> beginning and <?php> end tag.
include in a iframe... or include a ajax code php file will run at other place and it will be embedded in html page...
cant say I know how to do that www.whodatis.com this is my site The coming soon in the navigation I would like to make a pagerank script page
Yes, if you've modified the .htaccess file, then you can just include PHP code in your .html page. There's no need for ajax. Another, more simple solution. Just change the extension of your page to .PHP. It'll function just like a .html, but it'll parse both the .php and .html
my template currenlt is header.html and footer.html Could I just make a php file that calls both, and add the script in it? If so, how do I call the header and footer
Ok so I decided to just include my template via calling the header and footer It worked great but the pr checker isnt working http://whodatis.com/pr/
got it to work now. But I have two head tags and two doc types(look at page source) Which do I keep? The one from the header.html or the one from the pagerank script edit-just noticed it throws my page left. I'm lost