I understand how to add the code to php pages. But what is the best solution for the htm / html pages? I use FrontPage (sorry) with web-bots for including pages (header and footer). I would like to use a footer page with ad network code. What is the best way forward?
One solution I guess (correct me if I'm wrong) could be to have the webserver treat the htm files as PHP, which can be defined in the .htaccess. You could then use the php code in the html file, and have it show to the user as a .html file but with the ads as well. Or use this solution - http://forums.digitalpoint.com/showthread.php?t=5659