[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Ad Server


Joel Gwynn wrote:
> So the ads are inserted via javascript and not interpreted php?  What
> are the non-javascript options, just out of curiousity.

It really shouldn't be that hard to write a one mode C::A that would
randomly pick an ad and send it to the browser. If you use mod_rewrite
(or mod_perl) you can even make anyone looking at the source think it's
just a normal jpg.

Something like:

  <img src="/random_ad.jpg" />

And then in your httpd.conf (using mod_rewrite)

  RewriteRule ^/random_ad\.jpg$/  /my_add.cgi [R,L]

And even if you don't have access to the httpd.conf you can still do

  <img src="/my_add.cgi" />

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.