Jump to content

Get vs Post


beav33

Recommended Posts

My question is does it matter which one you us if your search form is short. Meaning, the search form I am using is no where near 8192characters, but the results from the db will be in the thousands. So can I still use GET or do I have to use POST. Might be stupid question, but it is stumping me bad, lol.
Thank you
Link to comment
https://forums.phpfreaks.com/topic/29042-get-vs-post/
Share on other sites

If you're transmitting any kind of sensitive data use post, but if it's just a $search flag or something then get is usually just a little nicer urls but doesn't make a difference.  And if you use $_REQUEST then you could pick which one you want to use and change it up later ;)
Link to comment
https://forums.phpfreaks.com/topic/29042-get-vs-post/#findComment-133165
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.