beav33 Posted November 30, 2006 Share Posted November 30, 2006 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 Quote Link to comment Share on other sites More sharing options...
marcus Posted November 30, 2006 Share Posted November 30, 2006 Well, if you want the search query to be visible in the browser you can use getsite.com/search.php?search=searchedvs. POSTwhich will post the data and the search query will not be visible site.com/search.php Quote Link to comment Share on other sites More sharing options...
btherl Posted December 1, 2006 Share Posted December 1, 2006 If your form is short but the results are big, then it doesn't matter. The only thing that matters is what you are submitting. Quote Link to comment Share on other sites More sharing options...
projectshifter Posted December 1, 2006 Share Posted December 1, 2006 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 ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.