Search the Community
Showing results for tags '$_session'.
-
I think the title is very clear but i have a site that has 2 user databases, one for web mail (Round cube) and one for a directory of content that the user has to be authenticated for. I was wondering if i should throw the password in $_SESSION and authenticate web mail if the user is logged in? Obviously i should not send that password back to the client if it be encrypted or not but i would inject the username and password into the web mail authentication handler as if the user had already filled in the form. Due to certain circumstances i am unable to merge the user databases. If there are any other possibilities do recommend them instead.
-
What I'm trying to do is get my $_SESSION to work throughout my website. I'm quite new to PHP, so the PHP Manual didn't make much sense to me, so I thought I'd post here! ^^ I've got my login script under /session/ and I want it to be able to display your username on the homepage (/), but it only works inside /session/. If you are wondering, I am using PHP-Login Advanced. Thank you, - Connor!
-
Hello. Is it possible to insert as default value in mysql the username of who is 'logged in' adding a article to the website? Independently of who is the user? Thank you in advance!