I can't seem to get the ads to display on the site www.best-auto-warranty.com . I put <!--#include virtual="/ad_network.php" --> on index.html I added AddHandler server-parsed .html to htaccess for ssi with .html . I uploaded ad_network_ads.txt and made writtable and it does have ad info written to it. I uploaded ad_network.php . Other ssi's do work on the site but the ad doesent seem to display on www.best-auto-warranty.com/index.html .
In the ad_network.php file, change this line: if (substr (@$_SERVER['DOCUMENT_NAME'], -6) == '.shtml') { PHP: to this: if (substr (@$_SERVER['DOCUMENT_NAME'], -6) == '.shtml' || @$_SERVER['DOCUMENT_NAME'], -6) == '.html') { PHP:
Opps... that's what I get for copy/pasting. if (substr (@$_SERVER['DOCUMENT_NAME'], -6) == '.shtml' || substr (@$_SERVER['DOCUMENT_NAME'], -5) == '.html') { PHP:
the ad is showing now. the url is http://www.best-auto-warranty.com/index.html but when I click validate it goes to http://www.best-auto-warranty.com/index.html/ and says no ads found. when you visit it with index.html/ it looks weird, like css isnt showing? also when I click Validate/Calculate Weight Now with just www.best-auto-warranty.com as the url it says the site failed becuase the ad is not showing on other pages of the site. does the ad have to be on all pages? I was trying to make it just show on index.html for testing.