Posted by Richard Lynch on 04/09/05 05:16
On Fri, April 8, 2005 5:18 pm, Computer Programmer said:
> What is a better way to store password in a cookie?
>
> md5()?
> base64_encode()?
> mhash()?
> mcrypt_generic()?
> crypt()?
D) None of the above.
You only think you need to store a password in a Cookie.
You don't.
Use sample code from http://php.net/session_start instead
--
Like Music?
http://l-i-e.com/artists.htm
[Back to original message]
|