Hi,
I'm using htmlspecialchars() as an alternative to addslashes() - it's more reliable for entering RSA-encrypted data into MySQL without messing up the query.
However, the string needs to be returned to its precise original form for decryption, and there's no reverse form of htmlspecialchars(). I believe I could use a series of str_replace() calls, but I'm not clear on the syntax. Should the replace-with arguments be in the form ' " ' or ' \" ' ?
Appreciate any help.
)