I've being hammering away at getting the co-op ads to work for 5 days now without any sucsess and am totally out of ideas, can someone provide a bit of help? My webste is www.saylessaddlery.com hosted by aplus.net I have created the ad_network.php file I have created the empty ad_network_ads.txt file I have created a .htaccess file with AddType application/x-httpd-php .php .htm .html I have placed the necessary code in my .htm/.html file as follows: <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo $ad_network[0]; ?> It seems that the PHP in the .htm is not being parsed. You can view my local config at: http://www.saylessaddlery.com/cgi-bin/serverinfo.cgi You can view my PHP config on the shared server is at: http://pro12.abac.com/test.php I also created a simple test file at www.saylessaddlery.com/hello.htm which contains: <html> <head></head> <body> <h1> <?php echo 'I LOVE PHP!'; ?> </h1> </body> </html> and all I get is a blank file. However another file PHP file www.saylessaddlery.com/test.php displays correctly. The contents of that file is : <?php echo "Hello World"; ?> Should I be making any changes to the PHP.ini file or the Apache config? Please help I'm totally stumped and I'd rather get the .htm parsing to work insted of the SSI or passthru method. thanks Frank
Frank: I had the same problems. I setup two Apache handlers: .htm server-parsed .html server-parsed this completely and instantly solved my problem. I run on Cpanel / Linux. Those Apache handlers actually go into the .htaccess file, but the formatting of the commands is key, so I just used Cpanel's Apache handler feature. Also you should look up csaba's setup help post http://forums.digitalpoint.com/showthread.php?t=6197 I used the method in his second post (the ad.php idea) which worked brilliantly for my .htm and .html pages, once I got the Apache handler set properly. Good luck! Hank
Hey Hank, Thanks for the feedback. I got bad news from my hosting company today. Basically what they have told me is that PHP parsing in .htm/.html files is not allowed on their shared server because of concerns of "over loading" the server. More bad news is that they limit which apache handlers you can load into the .htaccess file. For example I get internal server errors when I put the .htm/.html server-parsed handlers. I also get server errors with the passthru method. I think I *MAY* be able to get the SSI method to work but now I am contemplating moving to another hosting company. Purely because all my .htm/.html pages are all indexed on Google and other SEs and do not want to wait for a re-index. Moving to a new ISP that supports parsing and a few more features I think is the best way to go. A quick DNS change and bingo. This is the second time this hosting company has not being able to help. Any recommendations for a good hosting company would be welcomed - please DO NOT RECOMMEND APLUS.NET HOSTING as I have come to realize that they are simply inadequate to say the least. cheers Frank
Frank: Sorry to hear that. I hate it when a supplier tries to dictate anything to me! I use http://www.baport.com/ and highly reccomend them. They have great plans and incredible support. Good luck. Hank
SEbasic my sentiments exactly - here is what they had to say: "Dear Frank, Please note that we support PHP and the GD module support could be enabled for you anytime. What we can't do for you is to set the requested handlers on the server. The reason for that is that this handlers are requesting the server to parse every HTML file through the PHP parser which will overload the server and we can afford that since that is a shared hosting server. The PHP code is so popular now that I'm pretty sure you will be able to find substitute for your application that works without requiring that handlers. Kind Regards Vito Dome Aplus.Net Tech Support" Hank thanks for all your help and the recommendation, I'll check out their website. cheers Frank
Hi Frank, I'm using more host reseller accounts and all of my sites are working with SSI with .html file extension. My opinion is the http://bluewho.com/ is the best. You can do what you want, the support is excellent, has a good knowldge basis, and has a very good uptime. I tryed about 20 company ,and lost more sites on G. index because my sites are often down. Actually I'm using 5 comapany and the bluewho is the best. A basic reseller account is $20/month, it is not to much, and you can sleep and your sites never down, never lost sites and money and you can to use the new applications. What do you know, when you give a mail from your hosting company like: Dear Frank! We are nice, kind, we love you but you cannot use this method, because blah-blah-blah. Why??? Because they are using crap underdeveloped servers!! You have to fire this company ASAP. Good luck! Csaba
Thanks Csaba - definitely getting rid of Aplus.net! Does anyone have any advice regarding using Penguinhost.net? thanks in advance