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
What is difference between echo and print in php?
What is the most common http method?
How do I escape data before storing it into the database?
What does $_server means?
How to read a file in binary mode?
What is the output of the following php code?
Explain how can php and javascript interact?
What is a definer in mysql?
What is urlencode and urldecode in php?
How long is a php session valid?
Write a program in php to check whether a number is prime or not?
Explain about the data types in PHP?
How to download and install php for windows?
What is difference between array_merge and array_combine?
Is overloading possible in php?