hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Programming Tutorials : Request - How to make a banner ad appear on free hosted websites?
Reply

Programming Tutorials How-Tos related to programming, databases, and the like.
Forum Jump

Request - How to make a banner ad appear on free hosted websites?

Reply Post New Thread In Programming Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2005, 10:35 PM
WebTrooper WebTrooper is offline
Junior Guru Wannabe
 
Join Date: Mar 2004
Posts: 41

Request - How to make a banner ad appear on free hosted websites?


I'm sure a lot of folks would like to know how to do this, for a variety of uses. What I need to do is have a banner ad appear at the top or bottom of every page published on free hosting accounts. Not a template based system, nothing like that. Except for the superimposed banner, they will have a regular cPanel account - php, mysql, email, ftp and all that stuff. The only difference would be the banner attached to their pages.

The machine: RedHat SE, Apache 1.3

Anybody?


Last edited by WebTrooper; 02-08-2005 at 10:38 PM.
Reply With Quote


Sponsored Links
  #2  
Old 05-15-2005, 10:16 AM
snJohn snJohn is offline
Junior Guru Wannabe
 
Join Date: Mar 2005
Posts: 79
I would be interested in knowing how to do this also...

Reply With Quote
  #3  
Old 05-21-2005, 10:42 PM
aht aht is offline
WHT Addict
 
Join Date: Jan 2003
Posts: 167
That would be neat. I would assume it would have to be a mod in cPanel or Apache.

Reply With Quote
Sponsored Links
  #4  
Old 05-22-2005, 07:28 PM
gopper gopper is offline
Junior Guru Wannabe
 
Join Date: Jun 2004
Posts: 66
I beleave it can be done in .htaccess where you can add html to pages before the </body> tag ...

I no longer have the codein for this... But whould like to hear about alternitives

Reply With Quote
  #5  
Old 05-22-2005, 07:29 PM
Bashar Bashar is offline
Retired Moderator
 
Join Date: Jul 2002
Location: Kuwait
Posts: 10,572
mod_layout would so it for you too, seach WTH or google for it

Reply With Quote
  #6  
Old 06-03-2005, 08:54 PM
Raptors Raptors is offline
Web Hosting Evangelist
 
Join Date: May 2003
Posts: 475
You can install mod_layout:
http://tangent.org/

or use auto_prepend_file and auto_append_file:

php_value auto_prepend_file /home/username/public_html/header.html

AddType application/x-httpd-php htm

AddType application/x-httpd-php html

copy and paste to your .htaccess

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50e21a9e-0e64-443f-81f0-5ba545a79943 Listing 2013-03-05 18:24:43
50e21a9e-abf4-4d8b-b667-5bb245a79943 Listing 2013-03-05 18:24:45
50e21a9e-9430-44b2-85ed-5bb545a79943 Listing 2013-03-05 18:24:45
50e21a9e-7f00-4449-8414-5bb945a79943 Listing 2013-03-05 18:24:46
50db70b4-6568-4fd5-a244-480145a799de Listing 2013-03-05 18:24:38


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?