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?
Answer Posted / 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 |
Post New Answer View All Answers
Tell me how can we define a variable accessible in functions of a php script?
What good is polymorphism?
What is design pattern? Explain all including singleton pattern?
Is string php function?
How do you find the length of a string in php?
What are html entities?
What is the capacity of mysql database?
Which programming language does php resemble?
What is php regular expression?
What is overloading in php?
How do you compare strings in java?
Where do I run php code?
Can we override static method?
Is php better than java?
List few sensible functions in PHP?