| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Encrypting Forms Is there a way to encrypt a form on the page so that it cannot be tampered with? (I.E. a buy now button). i could md5 the whole thing, but the action page is paypal so i cant change the code there to unmd5 it. is there a way to do this: a user goes to the page to buy something and clicks on the Buy Now Paypal button. this button has encrypted hidden values. then the user is rerouted to a php page that unencrypts the hidden values. there is no user interaction on this page; the user is not aware that he has been rerouted to this page. using the values that were unencrypted by the php script, they are automatically submitted to paypal. the paypal page opens. i dont know if this is possible and if it will ensure any privacy, but the reason i simply did not make an encrypted button. is because i needed the extra options. ????: NamePros.com http://www.namepros.com/programming/137757-encrypting-forms.html basically, what im asking is, is there a way to send a form without the user pressing submit? (meaning it is sent the page loads) and have it in a php page so it csnnot be seen/altered? thanks.
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
| | #2 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Well. There is a way. First md5 won't work because you can't unencrypt it. base64_encode and base64_decode are your best beats. Or you can try encrypting the HTML using a HTML encrypter.. iNod
__________________ I feel old. |
| |
| | #3 (permalink) | ||||
| NamePros Member Join Date: Jul 2004
Posts: 85
![]() |
| ||||
| |