what is the difference between GET and POST?

Answer Posted / nikhilkumar bagla

GET :-
-it is used to send information from a form with Get Methods.
-it will be displayed in the browser's address bar(its visible).
-it has limits on the amount of information to send (max. 100 characters).
-When using method="get" in HTML forms, all variable names and values are displayed in the URL.

POST:-
-Information sent from a form with the POST method is invisible to others.
-it has no limits on the amount of information to send.
-by default 8 Mb max size for the POST method, (can be changed by setting the post_max_size in the php.ini file).

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to upload a file in php?

551


Why do we use query?

506


How do you explain independent and dependent variables?

495


What is an array in php?

628


List some features of php that are deprecated in php7?

475






What is printf in php?

534


How to count all the lines of code in a directory and sub folder?

518


What is the use of preg_match in php?

535


How we can declare variable in php?

517


Is php faster than python?

564


What are the two most common ways to start and finish a php block of code?

639


How to invoke a user function?

555


How to get elements in reverse order of an array in php?

573


How to download and install php for windows?

556


When should you use a stored procedure?

509