wit regards to Best way to use PHP to encrypt and decrypt passwords?
i encountered problems passing encrypted strings to another page.
in my case, i would like to send out a registration link to the user such as
www.xyz.com/reg.php?x=xxxxxxxxxxx
in which xxxxxxx contains email address and user's full name information in an encrypted serialized array as string.
however when user clicks the link, the decrypted strings is different from the original string before encryption.
sometimes the information if partially decrypted and the rest is garbage.
anyone can explain why is this happening ?
thanks in advance.