Modify form variable before submit in PHP
Posted on 2004-10-28
Although this may not be necessary, and please explain if this is the case, I'm trying to encrypt a password
string before sending the value through to the processing page to insert into the database on new user registration.
I would like to do this as a security measure so in the form POST between the pages the password input field
value is already encrypted.
Question. Can I call the encryption function (this part works) in the form before POST and send the encrypted string
to the POST variable instead of the plain text password? The encryption routine I would like to call before post is a PHP