what is the difference between GET and POST?

Answer Posted / bijaya

GET :
A : http Request AS GET may gets fails, if exceed certain
length in request URI as it is passed as query string
B : uploading files through input type file not possible
C : Chances for Data lost after server encoding


POST :
A : It does not fails in http Request AS POST
B : uploading files through input type file is possible
C : Data does not lost after server encoding

Is This Answer Correct ?    41 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string php function?

574


Difference between mysql_connect and mysql_pconnect?

510


What is the function to count elements in an array in PHP?

624


How do you remove duplicates from an array?

660


What is the difference between array_map () and array_shift ()?

515






Are static variables final?

524


Tell me is it possible to protect special characters in a query string?

498


What does the function get_magic_quotes_gpc() means?

507


How can i execute PHP File using Command Line?

526


Explain how to run the interactive php shell from the command line interface?

551


Explain me what is the goto statement useful for?

478


Tell us why did you choose this particular career path?

522


What is the best practice for running mysql queries in php? Consider the risk of sql injection.

554


How do I expire a php session after 30 minutes?

534


What is the difference between indexed and associative array?

504