i need to add the user's password in a coockie. I don't know how to encrypt it, so the next time he visits my website i can decrypt it and check if it's true. My isp do not support the crypt function. Sorry for my english! Thanx in advance! :0)))
Try using the MD5 function which will hash the password. You can save the hashed value in the cookie and compare it to the hash you've saved in the user table's password field. Don't save a clear-text password IOW.
Dave
=========================================== http://badblue.com/helpphp.htm Free small footprint web server for Windows