Hi all,
I have forms within my website. Some of these forms include PayPal forms (forms that submit information to PayPal). I do not wish my customers to view the source code and see what fields & their respective values I am using. As such I wish to encrypt them and yet, be able to submit information securely over to PayPal with the values that user enters in the form & my own hidden form values.
So for example, consider that one of the elements of my form is:
<input name="note" type="text" id="note" value="<?php echo ( isset($_POST['note']) ? $_POST['note'] : '' ); ?>" maxlength="255" />
When I view the source code, I see something like this:
<input name="note" type="text" id="note" value="This is my first note" maxlength="255" />
So it's very clearly visible what note I am sending. I do not want anyone to see what I am sending and to where. So if possible, can we encrypt the fields & their values so that user sees something like the following when he views the source code:
aXKJKJHlnkhGHKJBjKJOIKJKG5dsaGjhvbSDHAHOSDLnNDNOjkjsadndKHKDNSQW
The above would represent the encrypted form of the field. Is this possible to achieve without using Javascript? I would really want to do this without javascript because the form field values would be dynamic & javascript could be disabled.
Thank you very much.
Edit1: I just wanted to add this Note to specify that I would apply the same encryption process to all other forms & they may or may not post to PayPal. So keeping this in view, it would help to know an encryption routine in general & not just in specific to Paypal. Any ideas?