Thanks.php: Echo back the username and password?

Discussion in 'Templates customization' started by farcrown, Jul 12, 2004.

  1. farcrown

    farcrown Guest

    Hi

    I've had a good look and tried a few things suggested in the help/docs and forums but without success.

    How do I echo back the username and password in thanks.php.

    I want to say something like:

    Thanks, Fred Bloggs. Please make a note of your login details:
    Login username = fred123
    Login password = dogsname​

    I tried adding the following test code to thanks.html:

    print "Welcome, " . $_SESSION['_amember_user']['name_f'] . " " . $_SESSION['_amember_user']['name_l'];

    But I just see "Welcome, " and no user data.

    I can't rely on the user remembering what they just typed 2 minutes ago, and they won't have email access to receive confirmation, hence the need to echo it back immediately.

    Cheers
    Russell
    aMember newbie
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Russell,
    unfortunately, there are no secure ways to do this.

Share This Page