tdjb Posted August 8, 2007 Share Posted August 8, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/63811-solved-encrypt-form-variables-during-submission/ Share on other sites More sharing options...
ToonMariner Posted August 8, 2007 Share Posted August 8, 2007 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://). Quote Link to comment https://forums.phpfreaks.com/topic/63811-solved-encrypt-form-variables-during-submission/#findComment-318009 Share on other sites More sharing options...
tdjb Posted August 8, 2007 Author Share Posted August 8, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/63811-solved-encrypt-form-variables-during-submission/#findComment-318012 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.