How to "Rotate" AWeber Logon Info in a PHP Optin Page

Discussion in 'PHP' started by BandonFlyer, Nov 21, 2008.

  1. #1
    Need some programming help - pretty simple for a good PHP guy...

    I want to have a single INDEX.PHP file that will send optins to two different AWeber accounts and distribute EVENLY between them. So optin #1 comes and goes to AWeber #1, then optin #2 comes and goes to AWeber #2, then optin #3 comes and goes to AWeber #1 again, etc...

    The aweber stuff can easily be stored in two difference variables, etc...

    The obvious answer is DON'T - I know... Just use a rotator that sends the traffic to different URLs, etc... But that's NOT what I want to accomplish for some very specific reasons...

    So, here's what I am having difficulty with...

    How can I get this to rotate evenly each time the page is loaded? I am trying to avoid going to a file counter or database lookup... Basically I need some incrementer in the page that I can do some odd/even logic on or something...

    Any help?
     
    BandonFlyer, Nov 21, 2008 IP
  2. stock_901

    stock_901 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hey banndon just check out this amazing software at ankitbaweja.com
     
    stock_901, Feb 2, 2009 IP