What are the differences between GET and POST methods in form submitting, give the case where we can use get and we can use post methods?


Posted On: Feb 22, 2018


    1 Answer Written

  •  devquora
    Answered by ROSHAN RAJ

    Few difference between GET and POST HTTP Methods

    • GET method used for less data up to 2K and GET method passes the data via the URL parameters and
      data is visible to everyone in the URL.
    • POST method passes data via HTTP POST method and data is not visible to anyone because data send with embedded form. Also POST method used for more data as default size to be sent is 8MB but it could be increase by the change of value of parameter post_max_size in php.ini configuration file.

Related Questions

Please Login or Register to leave a response.

Related Questions

PHP Interview Questions


T_PAAMAYIM_NEKUDOTAYIM is scope resolution operator used as :: (double colon) .Basically, it used to call static methods/variables of a Class...

PHP Interview Questions

What is the difference between == and === operator in PHP ?

In PHP == is equal operator and returns TRUE if $a is equal to $b after type juggling and === is Identical operator and return TRUE if $a is equal to $b, and they are of the same data type...