SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2002
    Posts
    523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    output from session

    Hi how are you doing? What I am trying to do is when a user loged in to one's E-mail, it shows one's name. In other words, when someone logsin to his/her mail, it shows his/her name. Therefore, he knows that he loged in this acount.

    I would like to show when a user inputs password and username, it shows his name.

    Could you tell me a clue how to do it?

    Thanks

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2002
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A session variable?

    Hi, if you have the username in a session variable you can just echo that variable, something like this...

    PHP Code:
    echo 'Logged in user: '$HTTP_SESSION_VARS['username']; 
    Is this what you mean?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •