Advertising Management

Matt Midgley

New member
Hello,

I have a server with quite a few sites on it and I'd like it to be AD supported. I'd rather not have each and every site with ADs on it (I would like a few exceptions), it would be better if I could choose but if I can't, I could live with it. What I need to know is if anyone knows of some software that will do this for me. I will most likely be using Google ADWords for this. Just some initial ideas would be great.

The code needs inserting at a convenient place that's no too in the way but where it would get clicks. I'm sure their Terms and Conditions say no popups which I wouldn't want anyway.

Thanks,
Matt
 
I think this shouldnt be too difficult. I have a few ideas how to make this work but am not sure yet. I am going to do some searching around and try a few things and let you know how it works out.
 
It seems that the easiest option is to remove all the document types except for index.htm (for example)

Make this file so it cannot be replaced and that their FTP user does not have any rights to it.

Then add a frame on this where you want their home page to appear. You can tell them to use home.htm only.

It then loads their site up in the frame.

However, this isnt a great example because they could just redirect to home.htm and all pages wouldnt have a banner... just the home page.

The better way would probably use mod_rewrite (available as a download) and a .htaccess file and tell it to redirect all traffic to a page with the banners and filter out images and such so that everything doesnt get a banner on the page.

How you do that is another story ;) I am not familer with PHP. Have a search around and see if there are any examples of code. I am sure someone has a free sample of code you could use in IIS.
 
Top