Re: [PHP] Restate: using php to rotate ad banners
> Would this do it for you? No, that is that the problem. Showing the banner is. It's when they click on it. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Restate: using php to rotate ad banners
> Don't reinvent the wheel :) > > http://www.phpadsnew.com/one/ Then how would people learn? Eventually everyone that knows how to make the wheel will die and the knowledge to make it will be forgotten. J. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Restate: using php to rotate ad banners
Have you seen phpAdsNew ? It really kicks ass. High quality development going on with that project. Plus, they've already worked out all the issues you are having with cookies and what not by using sessions. It's really fast too, and they have some caching options to make performance even better. It's always nice to write your own stuff to learn, but seriously, if you are planning to do anything that other people need to rely on for a banner management system and server, use phpAdsNew. You can find it on SourceForge. Regards, Jason k Larson Joseph Bannon wrote: Anyone? Reply? I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the people to the proper site for the banner they clicked on. Some people have noticed that when they click on the banner, they go to another site. Others have noticed that they just get returned back to the page that they just were at. I test it without any problems. I have been doing the redirecting using cookies. The script show.php puts the cookie on their computer. The script click.php gets the cookie and redirects them to the proper place when clicked. Should I be using cookies or sessions to do this? I think the problem is that some people have their browser set to not accept cookies which is why they get directed to other places. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Restate: using php to rotate ad banners
Don't reinvent the wheel :) http://www.phpadsnew.com/one/ --- Joseph Bannon <[EMAIL PROTECTED]> wrote: > Anyone? Reply? > > > I recently created some scripts to rotate ad banners > on my site. One script is called show.php, which > serves the banner. The other is called click.php, > which redirects the people to the proper site for > the banner they clicked on. > > Some people have noticed that when they click on the > banner, they go to another site. Others have noticed > that they just get returned back to the page that > they just were at. I test it without any problems. > > I have been doing the redirecting using cookies. The > script show.php puts the cookie on their computer. > The script click.php gets the cookie and redirects > them > to the proper place when clicked. Should I be using > cookies or sessions to do this? I think the problem > is that some people have their browser set to not > accept cookies which is why they get directed to > other > places. > > > __ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Restate: using php to rotate ad banners
Anyone? Reply? I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the people to the proper site for the banner they clicked on. Some people have noticed that when they click on the banner, they go to another site. Others have noticed that they just get returned back to the page that they just were at. I test it without any problems. I have been doing the redirecting using cookies. The script show.php puts the cookie on their computer. The script click.php gets the cookie and redirects them to the proper place when clicked. Should I be using cookies or sessions to do this? I think the problem is that some people have their browser set to not accept cookies which is why they get directed to other places. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php