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
What is the difference between php and cakephp?
Tell me what does the array operator '===' means?
List some features of php that are deprecated in php
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
Write a program to get lcm of two numbers using php?
Tell me what is the use of isset() in php?
What is isset post?
How can you declare a constant variable in php?
What are encryption functions in php?
What is meant by variable variables in php?
Can you convert php to html?
How to remove leading and trailing spaces from user input values in php?
Can we run php in apache tomcat?
What is filter_var?
Tell me how to create a text file in php?