next Posted April 22, 2008 Share Posted April 22, 2008 So why/when use GET instead of POST and why both of them exist? As far as i understand they are almost the same except that POST is more secure, what am i missing? Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 with GET you can have different URLS that is easier for users to remember, like if you had a membership program you could have http://www.yourwebsite.com/users/username and that will also be seen by robots and if cached will be shown in search results. post is more for passing sensitive information through forms and such. Quote Link to comment Share on other sites More sharing options...
next Posted April 23, 2008 Author Share Posted April 23, 2008 So GET is for SEO, got it, thanks! Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 23, 2008 Share Posted April 23, 2008 So GET is for SEO, got it, thanks! not all the time, but that is one of the benefits of GET Quote Link to comment Share on other sites More sharing options...
phpSensei Posted April 23, 2008 Share Posted April 23, 2008 GET is mostly supplied in URLS to show different parts of one page depending on the data in HTTP var. Post is the same thing, except it usually gives its value from a form.... $_GET = HTTP var $_POST = Form Var Simple explanation, POST and GET are also used in AJAX, in a different concept. 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.