Jump to content

[SOLVED] encrypt form variables during submission?


tdjb

Recommended Posts

I've been looking around the net for a solution (I'm pretty new to php) on how to encrypt a form variable before you submit it, is this possible?

 

To give you an idea, I have a "change your password" type form and when the user enters their new password and clicks submit the password is sent out in the open before it's encrypted (md5) and put into the database. I'd like to encrypt it BEFORE I send it though. I plan on using SSL but I'd also like to see if what I'm trying is even possible.

 

Thanks.

Link to comment
Share on other sites

not really possible - the only options you have are javascript (can be switched off) or a java applet (can be disabled).

 

only 'reliable' method is transferring data over secure socket layer (https://).

 

Eh, that's kind of what I thought after not finding anything on it.

 

Thanks for the quick response.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.