Re: secure form handling

From: Date: Fri, 08 Feb 2002 21:53:06 +0000
Subject: Re: secure form handling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84070@lists.php.net to get a copy of this message
I think you mean that you want to display the total as text but have the total on the form hidden so they can't edit it (and give themselves a discount), you can use a hidden form field, sessions or cookies. <input type="hidden" value="xxxx" name="total"> Paul Roberts roberts_paul@bigfoot.com ++++++++++++++++++++++++ ----- Original Message ----- From: "wm" <webmaster@blanktv.com> To: <php-general@lists.php.net> Sent: Thursday, February 07, 2002 1:36 AM Subject: [PHP] secure form handling > hi, > > i'm fairly new to this. > > what i want to do is use a form so the user can specify a few different > choices > of things they want to buy. maybe a few radio buttons with dollar > amounts and > then possibly a couple of quantity fields for items. > > this can then be passed to a script and total added up etc. and the user > > can input > their billing data. what i don't want is for the user to be able to see > the amount of > the transaction in the source code in a hidden field. > > how do i hide this data while still passing it to the credit card script > > along with all > the other info? > > thanks. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#84070) next »