Are there anyway to hide form values ?
Posted: Wed Dec 01, 2010 1:25 am
Hello, I need help. I tired searching but came out with no solution.
I am trying to build a shopping cart where it sends shipping and payment information to Paypal through a form.
But I don't want the user or anyone to be able to see those information.
The problem is that I couldn't hide the information. Anyone can just use "View Source" to see what I am sending in the form fields.
Are there anyway to hide the values so that no one can see them ?
Please Help
Here are my code:
Even if they are hidden forms, the user can just "View Source" and see all the values. 
I am trying to build a shopping cart where it sends shipping and payment information to Paypal through a form.
But I don't want the user or anyone to be able to see those information.
The problem is that I couldn't hide the information. Anyone can just use "View Source" to see what I am sending in the form fields.
Are there anyway to hide the values so that no one can see them ?
Please Help
Here are my code:
Code: Select all
<form action="cart.php" method="post">
<input type='hidden' name= 'selResidential' value='<?php echo $resdiential; ?>' />
<input type='hidden' name= 'selPackaging' value='<?php echo $packaging; ?>' />
<input type='hidden' name= 'selRate' value='<?php echo $rate; ?>' />
<input type='hidden' name= 'txtFromZip' value='<?php echo $fromzip; ?>' />
<input type='hidden' name= 'txtFromCity' value='<?php echo $fromcity; ?>' />
<input type='hidden' name= 'txtFromCountry' value='<?php echo $fromcountry; ?>' />
<input type='hidden' name= 'txtToZip' value='<?php echo $tozip; ?>' />
<input type='hidden' name= 'txtToCity' value='<?php echo $tocity; ?>' />
<input type='hidden' name= 'txtToCountry' value='<?php echo $tocountry; ?>' />
<input type="submit" value="Submit" />
</form>