Forum Moderators: coopster
I have a form that I want customers to fill out and submit. Based on the answers to the questions, the results page will display dynamic results.
My first instinct was to use the GET method, and append the answers to a URL, and have the results page look for the parameters. After doing some research, it appears that the POST method is cleaner and safer, however, it is not as intuitive for me.
My question is this. When using the POST method, how do I get my results page to see the post value. I know how to configure the if statement to display the appropriate result, but I don't know how to get the result page to recognize and read the POST values.
Can someone help?
Thanks,
Chris
it appears that the POST method is cleaner and safer
Cleaner. Yes it will give you a shorter URL, but it will give you more complicated source code. It will also prevent users from bookmarking pages that depend on post data. For example, if you have page.php?profile_id=7, that can be bookmarked.
Safer. Marginally. People can inject post data fairly easily. If you need safety, you need far more security than the minimal obfuscation provided by post.
Tom