| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | 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. 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! |
| |
| | #3 (permalink) | |
| NamePros Member | Quote:
| |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |