Cookies/Remeber password
| From: | Ayman Mackouly | Date: | Tue, 20 Jun 2000 22:29:16 +0000 |
| Subject: | Cookies/Remeber password | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2347@lists.php.net to get a copy of this message | ||
Hi folks,
I'm trying to do a simple username/password login for new members in my website (both are saved
in mysql table) and I'm considering adding "Remember me" option, which means the user
doesn't have to enter his username/password to login member's section instead
username/password are loaded from a cookie.
I have three questions regarding that:
1.Is it a good idea to save username/password in a cookie?
2.Is there any built-in string encryption methond in PHP?
3.How do I set a cookie that doesn't expire?
Thanks in advance!
Ayman