Sending users to another site

Discussion in 'PHP' started by Voasi, May 20, 2008.

  1. #1
    Ok, so here's the setup:

    Page1 has a frame and shows siteID1. User then will hit external button on siteID1 page which will bring up "Thank you" page. I don't want the user to go to Thank You page, but rather go to siteID2. We'll have all the sites in the DB already. Also, siteID1 should never be visited again after user hits external button.

    Is there a way to do this?
     
    Voasi, May 20, 2008 IP
  2. Dreads

    Dreads Well-Known Member

    Messages:
    1,884
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    150
    #2
    I dont get exactyl what you mean?

    Do you want it so..
    Page1 will pull site1 from the database and delete it and then display it
    Then when the user goes out it shows a thank you? <body unload "alert('Thank')";> something like that?

    - Then -
    When Page1 is hit again it will take out site2 and then delete it from the database and display it.. repeating?

    If you have a msn -> that be great
    =====
    Right now i was working on something like this
    http://www.myqrio.com/url/rewardurl.php?r=1&url=http://www.google.com
    R= Refer id
    URL = your site
    And then they can check their stats on a panel page.
     
    Dreads, May 20, 2008 IP
  3. thefreak

    thefreak Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well you can use header('locationurl'); to transfer them immediately,and youll have to mentain some kind of log,database for the second part..that once its done you scratch that url from the list
     
    thefreak, May 20, 2008 IP
  4. Voasi

    Voasi Active Member

    Messages:
    1,054
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #4
    Dreads - just sent you a PM. I'm on MSN right now, but I don't see you on.

    theFreak -

    Right, but the user will be filling out a form on the external site, so I won't be able to control the "goto" page once they complete the form. All I know is that when they get sent to the "goto" (thank you) page, it shouldn't go there but redirect to the next URL we have in the DB.
     
    Voasi, May 20, 2008 IP