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
Which is true about the singleton design pattern?
List types of array are available in php?
How does php and apache work?
Is multilevel inheritance possible in php?
How to get no of arguments passed to a PHP Function?
Explain what is the function file_get_contents() usefull for?
Write a program to upload a file in php?
What is the use of super-global arrays in php?
Why we use get in php?
How can we make a constant in php?
Tell me what does $_env means?
How many types of php are there?
Does php 5 support exceptions?
What is a php web application?
Is it possible to protect special characters in a query string?