I think base64 would work for you.
http://us3.php.net/manual/en/function.base64-encode.php
http://us3.php.net/manual/en/function.base64-decode.php
Ray
ganu wrote:
Hi ,
I want a function like md5() by which I can encrypt a code and again
when I need from db i can dcrypt also.
but in md5() this func. is not there. I can not go in reverse way.
I want to use it both the ways. Help me ,
10x. (Thnx.)...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php