I searched google,weberdev and php.net sites. i implemented the 2 encrypt and decrypt functions mcrypt_encrypt(),mcrypt_decrypt() and mcrypt_ecb() functions.but it not working properly.i dont need more complicated encrypt and decrypt functionality.just i want to encrypt my user id when i pass from page1 to page2 and i want to decrypt it in page2.i am looking forward reply from u A.suresh --------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.