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


Please Help Members By Posting Answers For Below Questions

Which is true about the singleton design pattern?

555


List types of array are available in php?

553


How does php and apache work?

536


Is multilevel inheritance possible in php?

506


How to get no of arguments passed to a PHP Function?

500






Explain what is the function file_get_contents() usefull for?

513


Write a program to upload a file in php?

547


What is the use of super-global arrays in php?

508


Why we use get in php?

570


How can we make a constant in php?

556


Tell me what does $_env means?

534


How many types of php are there?

527


Does php 5 support exceptions?

681


What is a php web application?

505


Is it possible to protect special characters in a query string?

542