top

Rotate Offers, Update

Category: PPC
3 Comments

The other day I wrote a post about Rotating Offers for your Affiliate Marketing campaigns. I am a real newb about PHP and anything coded. I do have a buddy that is going to school right now learning this stuff so he helps me out a lot. The script that I posted, I can’t even remember where I got it.

Anyway, a fellow Nebraskan, DevTrench made a reply based off of my post. This is what blogging is all about, networking. He showed me in his post how you should be rotating so your stuff has more security. I am switching all of my rotating scripts to this one right now.

<?php
$offers = array('http://example.com/offer1.html',
'http://example.com/offer2.html',
);
header('Location:'.$offers[array_rand($offers)]);
?>

Thanks again to DevTrench for fixing my rotating script.

Related posts:

  1. Rotate Your Offers
  • Posted by browie
  • on Nov 20th, 2008
  • at 4:43 pm

3 Comments Already,
Add Your Voice

  1. The Sly Guy

    Wait what’s the difference between this one and the other one?

    [Reply]

    browie Reply:

    The first one I posted has some security issues. Some one could get into that file and hack it. DevTrench talks about it in his post. So I have switched. If you head over to IanFernando.com he has one that rotates based on EPC.

    [Reply]

  2. ZK@Internet Marketing Blog

    You seem to have done well in rotating your ads on the site

    [Reply]

Type your comment below


XHTML: You can use these tags - <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

back to top

© 2008 Browie. Theme by Christopher Guthrie and thg WebMedia