RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

php_value append/prepend question

Join Date: Sep 2005
Location: Albany, NY
Posts: 43
Reputation: ayksolutions is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
ayksolutions's Avatar
ayksolutions ayksolutions is offline Offline
Light Poster

Help php_value append/prepend question

  #1  
Sep 9th, 2005
Hello,

I am having a problem with the php_value function. I need to attach a footer/header to certain accounts that I host for advertising. I put in the following into my .htaccess of the test site:

php_value auto_append_file /home/freehost/bannerad.txt

AddType application/x-httpd-php htm
AddType application/x-httpd-php html
AddType application/x-httpd-php shtm
AddType application/x-httpd-php shtml
AddType application/x-httpd-php dhtm
AddType application/x-httpd-php dhtml

The website I am testing this on is www.wow4less.com

As you can see by looking at the site, that there is something wrong here. The header/footer show up, however, they distort the site's content as well as bring up a few lines of error code at the top. The site is powered by ZenCart which runs on PHP. Does anyone know what I am doing wrong? (ZenCart is similarly built to phpbb and vbulletin I believe).

Thank you for any help

Sincerely,
Tyoma
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:35 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC