943,960 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 628
  • PHP RSS
Apr 16th, 2008
0

Forcing ads on certain pages

Expand Post »
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,
Reputation Points: 10
Solved Threads: 1
Newbie Poster
JNathanson is offline Offline
9 posts
since May 2006
Apr 16th, 2008
0

Re: Forcing ads on certain pages

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.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007
Apr 16th, 2008
0

Re: Forcing ads on certain pages

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,
Reputation Points: 10
Solved Threads: 1
Newbie Poster
JNathanson is offline Offline
9 posts
since May 2006
Apr 16th, 2008
0

Re: Forcing ads on certain pages

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.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Pulling images from table to php pages
Next Thread in PHP Forum Timeline: Selection of databases





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC