NYCPHP Meetup

NYPHP.org

[nycphp-talk] google ad sense + php question ...

jon baer jonbaer at jonbaer.net
Fri Jan 23 15:15:05 EST 2004


im having a problem w/ad sense.

im running a hockey league website + trying to get more either a) local
based ads or b) equipment related ads.  everything i run right now turns out
to be ads for "[a far away city] hockey tickets" which kinda defeats the
purpose.

so im thinking about including and include which tends to relate to more
fake text based on the real related content ... something like this:

ob_start();
 include("../ads.php");
 $ads = ob_get_contents();
 ob_end_clean();

so id think that google would use the text only based on what appears for
ads.php vs. what a user's page is actually included in.  would doing
something like this kill my server or is there a better way to accomplish
such a feat? or would this just not work.

jon





More information about the talk mailing list