what is the difference between GET and POST?

Answer Posted / ashfaq

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.

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. Hidden variable are always hidden!

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between session and cookie?

522


Explain what is the main difference between require() and require_once()?

539


Does php has a future?

493


What is __ construct in php?

543


What is mysqli_real_escape_string?

527






Is php a mvc?

511


What is the difference between fopen() and fclose()?

588


How can we determine whether a php variable is an instantiated object of a certain class?

525


What is the maximum size of a database in mysql?

527


What is design pattern? Explain all including singleton pattern?

535


Xplain is it possible to use com component in php?

532


Where is session value stored?

558


How to open a file for writing?

564


Is it possible to use com component in php?

556


What is call by reference in php?

516