Im trying to use the ad network on my site Ive configured it as per the document tation and tried to auto validate. But there is nothing on the page when loaded - no errors - nothing just blank white space any clues?
I have now tried on 2 sites its just a PHP based site - and the PHP all works etc. The current url it on is All Free Recipes it should be at the bottom o the page. but its not the code is in the page for sure as if i edit the URl to point to a false locaton errors appear - theres just nothing on the page? Any ideas shawn?
Well if you go to http://www.all-free-recipes.com/ad_network.php there is no file, so the ad network PHP file isn't on the server.
well the file is in the Includes folder and is called ad_network_ads.php ie http://www.all-free-recipes.com/Includes/ad_network_ads.php
BTW at the bottom of your advertise page you are getting Warning: main(http://www.all-free-recipes.com/Includes/ad_network_ads.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in http://www.all-free-recipes.com/Includes/footer.inc on line 16 Warning: main(): Failed opening 'http://www.all-free-recipes.com/Includes/ad_network_ads.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:../:../../:../../../:../../../../') in http://www.all-free-recipes.com/Includes/footer.inc on line 16
sorry foxy im not sure i undertsand the question? Shawn files are now in root of www.all-free-recipes.com ive noticed that the ad_network_ads.txt file is filling up but .php just not displaying them!
The question is Why are you putting up a Recipe site? What is your motive and what do you want to achieve?
The site was put up mainkly because there are a lot of searches done for recipes have a look how many searches are done on chicken recipes? I also found that it shouldnt be too hard to get the deep pages highly listed on google. I mean ive done no SEO on the page and im in top 10 for many of the deep pages. Also, its another place i can sell advertising and links to my own other sites. THT
it is and the code is : <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include_once ('http://www.all-free-recipes.com/ad_network_ads.php'); echo $ad_network; ?>
You need to use the code as given by the setup... <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include_once ('ad_network.php'); echo $ad_network; ?> PHP:
I thought that might be the case - we will, with your agreement, do some business here in the future as we have a big interest in this area. By the way where did you grab all the recipes from - I don't want them - just curious - perhaps PM me if you want.
Trust me, it matters... you are including the output of a HTML file when you do it your way. The default/normal way is to evaluate the PHP code itself. Since the script doesn't output anything, it will always be blank when including the output. Bottom line is including via a local file or via the HTTP protocol will yield two entirely different results.