Jump to content

POST or GET


next

Recommended Posts

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

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

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.