Where am I going wrong?

Discussion in 'PHP' started by ckclark121, Apr 22, 2011.

  1. #1
    Heya guys,

    I'm stuck. How can i manipulate the code below so that the return value is sent to my thank you page (www.website.com/thankyou.php) instead of the root homepage, while keeping everything else intact. The code to my paypal return value is listed below.

    <input type="hidden" name="return" value="<?=$cfg->wwwroot."registration-confirmed-".base64_encode(serialize(array($user->id, 1)))?>">
    Code (markup):
    Any help is appreciated.

    Thank You
     
    ckclark121, Apr 22, 2011 IP
  2. renCreations

    renCreations Greenhorn

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    In the case of people who manipulate your code, I would suggest doing a type of registration confirmation in the backend - not within the html.
     
    renCreations, Apr 23, 2011 IP