What are the differences between Get and post methods in
form submitting, give the case where we can use get and we
can use post methods?
Answers were Sorted based on User's Feedback
Answer / malathi
using get method is not secure, ur informations will be
appeared in the url address. using post method is much
secure it will not appear in the url address. eg.secure for
using post method in login form.
Get-> we can transfer limited data and its not secure.
post-> we can transfer unlimited data. ans its a secure.
Is This Answer Correct ? | 30 Yes | 3 No |
Answer / asish kumar khuntia (mithu)
Look there are more difference between get and post method.
one is data posting capacity.
2 is data security propose.
Post method is use in form submit case bec it contain
secure data.
Get method is use in gallery, shopping cart where categoty
sub category case.
Is This Answer Correct ? | 33 Yes | 8 No |
with Get we can send limited number of characters in query
string.
Post method is more secure than Get.
Is This Answer Correct ? | 27 Yes | 5 No |
Answer / prashanthi
In Get method we get complete information in top header that
is it is not secure,for sending secure data like
passwords,any Account numbers....we can use post method
Is This Answer Correct ? | 17 Yes | 3 No |
Answer / jasmin
Post method use in FORM posting
Post method can carry unlimited data.
Data secure in post method.
Get method usually carry that information which in visible
to anyone which is append with URL . So the data in not
secure in get methode.
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / dinesh chandra pant
The difference between Get and Post methods are as follows:
1. By using Post method we can send unlimited data,But it's
not possible in the case of Get. Get support maximum 200
characters or 2 MB data.
2. Get method is not secure as anyone can see it's content
in the URL.It doesn't happen in case of Post method.
examples: When the security is the main aim then we use Post
method e.g. in case of password.
When we have to supply the values through a link then we use
Get Method e.g. in case of tables where we have to get the
records for a specific value.
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / tushar kumar kundan
The built-in $_GET function is used to collect values from a
form sent with method="get".
Information sent from a form with the GET method is visible
to everyone (it will be displayed in the browser's address
bar) and has limits on the amount of information to send
(max. 100 characters).
============================================================
The built-in $_POST function is used to collect values from
a form sent with method="post".
Information sent from a form with the POST method is
invisible to others and has no limits on the amount of
information to send.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / mij
Use of Get Method:
The parameters from the form will appended to the
querystring. Sometimes, if the user want to bookmark a
page, this would be useful.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / prashanth
The get method is faster than post method because the get
method is no need to submit the data to the web-server.
but with the post method the data is to submit in to the
web-server.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / alby
ya absolutely the GET METHOD IS LESS powerful than POST METHOD
Is This Answer Correct ? | 5 Yes | 8 No |
What is user defined function in php?
What is php sequence?
How can we extract string 'techinterviews.com' from a string 'http://www.techinterviews.com' using regular expression in PHP?
What is the scope of a variable defined outside a function?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
What is PECL?
Who is the father of PHP and explain the changes in PHP versions?
13 Answers Befree, iMark Group, Netizen,
Why does php need server?
Write a program to display table of a number using php?
Explain the installation of PHP on UNIX systems?
how many type of url?
What is full form of PHP?