When you say that it is not working properly, what exactly is the
problem? Are you getting any error messages? What version of PHP are you
using? What platform is PHP installed on?

The reason I ask those questions is that
http://us2.php.net/manual/en/ref.mcrypt.php states that the mcrypt
functions need the mcrypt libraries to work. Perhaps the reason your
functions are not working is because those libraries are not installed
on your system.

Of course, you could just use Barry's suggestion of using the session
since it seems to meet your end goals.


Shaunak Kashyap
 
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
 
Direct: 323.330.9870
Main: 323.330.9900
 
www.worldpokertour.com
 
Confidentiality Notice:  This e-mail transmission (and/or the
attachments accompanying) it may contain confidential information
belonging to the sender which is protected.  The information is intended
only for the use of the intended recipient.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or taking of any action in reliance on the contents of this
information is prohibited. If you have received this transmission in
error, please notify the sender by reply e-mail and destroy all copies
of this transmission.

> -----Original Message-----
> From: suresh kumar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 07, 2006 12:45 AM
> To: php-general@lists.php.net
> Subject: [PHP] encrypt and decrypt in php
> 
> 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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to