GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Banner Rotator Script (https://gfy.com/showthread.php?t=116537)

Ketadream 03-17-2003 10:13 AM

Banner Rotator Script
 
Anyone know of a banner rotator script that, hmm how can I explain this...

Ok take's all your banners and loads them into an array and then can be called multiple times as to load out say 6 banners on a page, but yet not have any of them be duplicate.

NineNine 03-17-2003 10:44 AM

It's not tough to do. I wrote one myself. It not only does that, but it shows random banners and weights them based on the success rate. Pretty fucking slick.

Ketadream 03-17-2003 11:57 AM

Yea, it does not seem to hard to do, load the array and then keep track of the index that was used per run of the application.

Unfortunatly im not sure how to maintain state using hahahahahahahahahaha. I assume PHP would be a better way to go that Jscript?

NineNine 03-17-2003 01:53 PM

Quote:

Originally posted by Ketadream
Yea, it does not seem to hard to do, load the array and then keep track of the index that was used per run of the application.

Unfortunatly im not sure how to maintain state using hahahahahahahahahaha. I assume PHP would be a better way to go that Jscript?

I'm not sure what "hahahahahahahahahaha" is, but you could try using cookies for state. I wouldn't keep a big array on the server like that. You get a few hundred concurrent users and you're gonna bottom out on RAM real fast.

Ketadream 03-17-2003 02:03 PM

looks like the word J A V A S C R I P T is being filtered


Hmmm good idea on the ram!


All times are GMT -7. The time now is 07:20 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123