How Do I test 2 Landing Pages? PHP not working for me...

Discussion in 'ClickBank' started by rickybuitrago, Sep 20, 2008.

  1. rickybuitrago

    rickybuitrago Peon

    Messages:
    170
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    the problem´s got to be in the insertion of the code. I must be placing it in the wrong place when pasting it to source. Where exactly should I paste it?!?
    thanks
     
    rickybuitrago, Sep 20, 2008 IP
  2. Madman340

    Madman340 Peon

    Messages:
    231
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #22
    I already told you... index.php, it's the only thing in the file... This is my entire .php...

    <html>
    <head>
    <?php
    if(rand(0,1) == 0) {
    include("http://www.simpledetour.com/split1.html");
    } else {
    include("http://www.simpledetour.com/split2.html");
    }
    ?>
    </head>
    <body>
    </body>
    </html>
     
    Madman340, Sep 20, 2008 IP
  3. rickybuitrago

    rickybuitrago Peon

    Messages:
    170
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    I DID IT! Thanks to everyone! Madman340 thanks a lot...there where two reason why it wasn't working...one, somehow I inserted the code in the wrong place...so I just copied your entire source made the changes and worked. Also, I thought that the browser would recognize index.php as homepage but I had to redirect that.

    thanks!
     
    rickybuitrago, Sep 20, 2008 IP
  4. Madman340

    Madman340 Peon

    Messages:
    231
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #24
    No problem. :)
     
    Madman340, Sep 20, 2008 IP