I can't seem to get this working. Hosting services does support PHP and I have added to every page. What I am doing wrong? failed automatic validation as of 2004-08-20 (make sure URL and site type is correct - if everything is correct, it may require manual validation). site: www.refinance-mortgageloan.com
I put the following code near the bottom of all my html files: <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include_once ('ad_network.php'); echo $ad_network; ?> Is this what you mean?
It looks like the pages are not PHP. Does your server support PHP, and if so, have you tried to override to have .html files evaluated as PHP files?
Hey you learn something new everyday. I have a test page: www.refinance-mortgageloan.com/index2.php. I does load but I get the following errors: Warning: fopen(ad_network_ads.txt): failed to open stream: Permission denied in E:\inetpub\vhosts\refinance-mortgageloan.com\httpdocs\ad_network.php on line 20 Warning: fwrite(): supplied argument is not a valid stream resource in E:\inetpub\vhosts\refinance-mortgageloan.com\httpdocs\ad_network.php on line 21 Warning: fclose(): supplied argument is not a valid stream resource in E:\inetpub\vhosts\refinance-mortgageloan.com\httpdocs\ad_network.php on line 22 Plasma TV Customer Reviews I just check the properties and both files are 777 (rwe). But I did receive an ad though.
Hmmm... the only file that should matter is the .txt file (it needs to allow write functionality access). Maybe it's only setup for write access for your user... You would need write setup globally (or at the very least the user that the web server runs as).
Nothing complicated. I was using SmartFTP and it didn't play nice when I was trying to change security. I used the control panel provided by the hosting company and that did the trick. Thanks again.