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? Link to comment https://forums.phpfreaks.com/topic/102415-post-or-get/ 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. Link to comment https://forums.phpfreaks.com/topic/102415-post-or-get/#findComment-524450 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! Link to comment https://forums.phpfreaks.com/topic/102415-post-or-get/#findComment-524569 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 Link to comment https://forums.phpfreaks.com/topic/102415-post-or-get/#findComment-524570 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. Link to comment https://forums.phpfreaks.com/topic/102415-post-or-get/#findComment-524572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.