NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Encrypting Forms

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-05-2005, 11:19 AM THREAD STARTER               #1 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



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.
nasaboy007 is offline  
Old 11-05-2005, 12:44 PM   #2 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
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.
iNod is offline  
Old 11-06-2005, 01:12 PM   #3 (permalink)
NamePros Member
Join Date: Jul 2004
Posts: 85
rehash is an unknown quantity at this point
 



Originally Posted by nasaboy007
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?
????: NamePros.com http://www.namepros.com/showthread.php?t=137757

thanks.
you can send the form doing post from your php code, libcurl helps you to do this
rehash is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:01 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger