md5 & cookies
| From: | Sebastian | Date: | Sat, 22 Mar 2003 00:02:49 +0000 |
| Subject: | md5 & cookies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140651@lists.php.net to get a copy of this message | ||
hello all,
Cookie noob here :s
how do I add md5 hash so it encrypts the password only in the cookie? and
how do I increase the expire time to 30 days? Here's the snip:
setcookie("pass","$HTTP_POST_VARS[password]",time()+(3600*24*7));
Thanks in advanced.
cheers,
- Sebastian