Forcing ads on certain pages

Reply

Join Date: May 2006
Posts: 9
Reputation: JNathanson is an unknown quantity at this point 
Solved Threads: 1
JNathanson JNathanson is offline Offline
Newbie Poster

Forcing ads on certain pages

 
0
  #1
Apr 16th, 2008
Hi there,

Is there any way, maybe using mod_layout, to force certain subdomains to have ads forced on their pages? I.e. for a free hosting company.

Thanks,
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,227
Reputation: kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about 
Solved Threads: 167
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Nearly a Posting Virtuoso

Re: Forcing ads on certain pages

 
0
  #2
Apr 16th, 2008
i have seen a lot of places like that use frames to force ads. I am not sure of the method they use to do this for their sites but that might get you in the right direction.
Last edited by kkeith29; Apr 16th, 2008 at 3:12 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 9
Reputation: JNathanson is an unknown quantity at this point 
Solved Threads: 1
JNathanson JNathanson is offline Offline
Newbie Poster

Re: Forcing ads on certain pages

 
0
  #3
Apr 16th, 2008
Thanks for that, I'll keep looking. I don't know how to force it on all pages that they use though.

I want to automate it if possible.

Thanks,
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,227
Reputation: kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about 
Solved Threads: 167
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Nearly a Posting Virtuoso

Re: Forcing ads on certain pages

 
0
  #4
Apr 16th, 2008
what i think i would do is maybe a mod_rewrite ??? not sure if that would do it, but it would redirect to a php page

ex.
http://mysite.freehost.com

to

http://freehost.com/show.php?site=mysite

then the show.php would load a ad into the top frame and the site in the bottom.

i have seen one or two do it this way.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC