Need a PHP Script written for split testing landing pages

Discussion in 'Programming' started by lylaster, Aug 18, 2008.

  1. #1
    Hello. I need a script written. Basically I sent a person to index.php, and I want someone to be sent to either landing page 1, or landing page 2. I'm already using the code below, however it does this randomly.

    <?php
    if(rand(0,1) == 0) {
    header("Location: http://www.example.com/split1");
    } else {
    header("Location: http://www.example.com/split2");
    }
    ?>

    I want a script where people are sent to different pages EVENLY, not randomly.

    Visitor 1 goes to page 1
    Visitor 2 goes to page 2
    Visitor 3 goes to page 1
    Visitor 4 goes to page 2

    It should be very easy for me to implement. I pay by paypal, please PM if you can do it, how long it'll take, and $.

    Thanks!
     
    lylaster, Aug 18, 2008 IP
  2. NetworkTown.Net

    NetworkTown.Net Well-Known Member

    Messages:
    2,022
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hi

    I can do this for you PM me how much you will pay and i can start on it now.
     
    NetworkTown.Net, Aug 18, 2008 IP
  3. logylaps

    logylaps Active Member

    Messages:
    761
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    85
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I can do this for $10 in one hour
     
    logylaps, Aug 18, 2008 IP
  4. lylaster

    lylaster Peon

    Messages:
    102
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    thanks guys, this job's closed now
     
    lylaster, Aug 18, 2008 IP