View Single Post
Old 06-27-2019, 06:55 PM  
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,223
I smoked a bit and I'm kind of rusty with this, but would it be something like this in PHP?:

<?php

$a=array("mypopup.js","advertiserpopup.js","anothe roneofmypopups.js");

shuffle($a);

echo '<script type="text/javascript" src="'("$a[0]")'"></script>';

?>

I know that there's a better way to randomize by picking out a random number then using that for the array number to use rather than using Shuffle, but it's easier and I don't think there will be much difference in load with 3 variables.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote