what is the difference between GET and POST?
Answer Posted / yugandhar
GET:
-----
1. URL Changes to the submitted script name, appended with
a list
of each variable with the value.
2. Use only if the number of variable to be used in a form
ar very less.
3. Never use GET forms when asking for login ID and
passwords.
4. Even hidden variables are shown as a part of the URL.
5. A lot of webservers might complain about long URLs being
submitted.
A lot of times a URL 255 char or more is a problem.
POST:
-----
1. This is the best way of submitting forms to the web
server.
2. There is no limitation on the number of Variables passed
from the form.
3. This is a transparent way of transmitting variables to
the webserver
where hidden variable are always hidden!
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is it worth learning php in 2019?
What are the four scalar types of php?
How long is csrf token?
What is php crud api?
How can we change the maximum size of the files to be uploaded?
What is the use of addslashes in php?
What is overloading and overriding in oop?
What is the use of print_r function in php?
Tell me what is the use of "ksort" in php?
How to know user has read the email-php?
Explain me soundex() and metaphone()?
Php says that an array is an ordered map. But how the values are ordered in an array?
Explain setcookie() function in php?
What is the php function that removes the last element of the array and returns it?
Tell me what is the use of the function htmlentities?