Web Hosting Talk







View Full Version : How to automatically put up banners?


bellyache
03-27-2003, 08:55 PM
I want to give out some free hosting accounts and I want to know how to make it so banners are automatially placed on the top of each page. Anyone know how to do this?

NexDog
03-27-2003, 09:10 PM
You will need a script - cgi does the best job. Look at hotscripts (http://hotscripts.com) under virtual communities (http://www.hotscripts.com/Perl/Scripts_and_Programs/Virtual_Communities) and also the cgiresourceindex.com (http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Homepage_Communities/).

Martie
03-27-2003, 09:11 PM
Try a banner management program. Do a search on google if nobody has specific recommendations.

Ive never used this one but Ive heard good things about phpAds
here is an article that might be useful to you.
http://www.sitepoint.com/article/760

sprintserve
03-27-2003, 09:16 PM
Misread :D Thought he meant normal rotating banner ads.

NexDog
03-27-2003, 09:18 PM
Hmm, that program won't put a banner on a page automatically. And the only way you can stop anyone from removing it is to take away their access to the opening and closing BODY tags and that requires a more involved script.

ServerSonic
03-27-2003, 09:50 PM
There is an Apache module called mod_layout you can use. Then you just add a few lines to their virtual host which will place your header/footer on every single one of their pages.

http://software.tangent.org/projects.pl?view=mod_layout

munted
03-27-2003, 11:45 PM
isn't there auto_prepend / append you can put in .htaccess?