Forum Moderators: martinibuster

Message Too Old, No Replies

Google Adsense Banner Problem

Google Adsense Banner Problem

         

CraigMyers

6:21 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



Hi everyone,

I hope that someone can help me with a problem I have.....

I am trying to inject my Google Banner advert onto the top of all pages that apache web server serves.

I have tried using Mod_layout, but mod_layout has a problem when ob_start is called in PHP (which effects PHP Nuke, PHP BB and others)

I have also tried using php_autoprepend but can mess up up headers.

I am using apache 1.33, and PHP v4.0.11.

I have tested the above using apache 2 and PHP 5. without sucsess.

I have seen many hosting companies add there banner across the top of their customers web pages, how do they do that without effecting customers pages and functionality?

Thank you!

Craig

Bddmed

7:59 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



For the technical issue I'd suggest you post your question on the apache or the PHP forum. This forum is about adsense. For the adsense part. You must own the domain in first place. But when you put adsense on pages on wich you don't control the content you risk losing your account for breaking the TOS without you even nowing it.

[edit]
Just forget about what I had to say. I can see the same post in about every forum here at WW.
[/edit]