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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.