•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 392,068 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,271 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1385 | Replies: 1
![]() |
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
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
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
Similar Threads
- how to append a charcter? (Windows Users Lounge)
- (another) big O question (Computer Science and Software Design)
- Simply question: How do I return a string from a function (C)
- gtk.ListStore / gtk.ComboBoxEntry class problem (Python)
- Socket help needed: How to listen without blocking program (Java)
- Welcome PC Mod Kingdom peeps! (Geeks' Lounge)
- Laptop LCD built into a car? (Monitors, Displays and Video Cards)
- Changing Network Configuration (*nix Software)
Other Threads in the PHP Forum
- Previous Thread: PHP .htaccess form
- Next Thread: Using PHP to script Windows Servers/Workstations


Linear Mode