fights4fun Fights4Fun May 21, 2007 34 0 0 43 www.lasvegashappyhour.net Jun 10, 2011 #1 I searched the forum and can't find any other posts on this. Does anyone have a link rotator script they want to share?
I searched the forum and can't find any other posts on this. Does anyone have a link rotator script they want to share?
Smidge New member Feb 4, 2011 63 2 0 Canada Jun 10, 2011 #2 Really? Cuz I had my pick of about 5+ different variations when I searched for 'rotator' last week . http://www.wickedfire.com/affiliate-marketing/115517-url-rotators.html
Really? Cuz I had my pick of about 5+ different variations when I searched for 'rotator' last week . http://www.wickedfire.com/affiliate-marketing/115517-url-rotators.html
Icecube Up 24h/day Mar 14, 2007 1,169 9 0 Europe Jun 10, 2011 #3 I adapted on the fly from a script of mine, it's not tested but it should work PHP: $activeOffers[0] = 'http1...........'; $activeOffers[1] = 'http2...........'; $randomOffer = $activeOffers[array_rand($activeOffers)]; header("Location ".$randomOffer);
I adapted on the fly from a script of mine, it's not tested but it should work PHP: $activeOffers[0] = 'http1...........'; $activeOffers[1] = 'http2...........'; $randomOffer = $activeOffers[array_rand($activeOffers)]; header("Location ".$randomOffer);
fights4fun Fights4Fun May 21, 2007 34 0 0 43 www.lasvegashappyhour.net Jun 10, 2011 #4 Thanks this is awesome. I have a php redirect I am using now hosted in a file redirect.php so my domain is www.domain.com/redirect.php Do I do the same with this? Sorry for the re re questions I 0 coding experience.
Thanks this is awesome. I have a php redirect I am using now hosted in a file redirect.php so my domain is www.domain.com/redirect.php Do I do the same with this? Sorry for the re re questions I 0 coding experience.
Icecube Up 24h/day Mar 14, 2007 1,169 9 0 Europe Jun 10, 2011 #5 basically you should put all your affiliate links in the $activeOffers array, make sure to increment by 1 for each url then save this in a .php file and send your visitors there, they'll be sent to a random offer among the options TEST IF IT WORKS
basically you should put all your affiliate links in the $activeOffers array, make sure to increment by 1 for each url then save this in a .php file and send your visitors there, they'll be sent to a random offer among the options TEST IF IT WORKS
fights4fun Fights4Fun May 21, 2007 34 0 0 43 www.lasvegashappyhour.net Jun 10, 2011 #6 Awesome, thank you this will help a ton. And a plus one for you my friend.