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
How to write a program to make chess?
What is local variable in php?
Explain object-oriented methodology in php?
How is the ternary conditional operator used in php?
How is it possible to parse a configuration file?
What is abstract class in php?
What does the scope of variables means?
What is the use of header in php?
How do you measure variables?
What is the use of is_array() and in_array()?
What is the difference between Session and Cookie?
Tell me how can I display text with a php script?
Write a query to find the 2nd highest salary of an employee from the employee table?
What is a php web application?
Explain the syntax for ‘foreach’ loop with example.