Skip to content

Export email from &_SESSION #27

Description

@altarifr

Hello all,
I am trying to use the email of the user to send per email some additional information on one of my PHP script.

I am trying to use the session variable to exploit the email without success:

Here what I tried :

$_SESSION['userPieUser'][0]; or $_SESSION['userPieUser']['email']; without success.

When trying to see the content of this table array i got :

Array ( [userPieUser] => loggedInUser Object ( [email] => email88@yahoo.de [hash_pw] => f959274288efa86cded889c8c160e993828b1f8003dee1c8ece9966f6dd4d111c [user_id] => 5 [clean_username] => admin [display_username] => admin [remember_me] => [remember_me_sessid] => d96062c6d42c6f298a2afc7e9196ba3cc532aa0eed4fb1bf190dd5e0a1f69257e ) )

Any help would be very appreciated.
Thanks
Altarifr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions