what is the difference between GET,POST and REQUEST in php
Answer Posted / mishra ashutosh
GET
data that is send can be seen in the address bar.so not secure.It has a data size limit.
POST
data is not visible to user, and has more size limit then GET
Both GET and POST can be used as method in form tag.
but REQUEST can't be used there.
REQUEST is generally used where we are not sure about the method whether the data are coming thru POST or GET method.
it is used to get the from data only.
Feel free to ask anything regaring php,mysql,js.
mishraa_007@rediffmail.com
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Explain what are the different errors in php?
What are the design patterns in php?
How to test if a variable is an array?
How can we know the total number of elements of Array?
Tell me how can we display information of a variable and readable by human with php?
Explain scalar type declarations in php7?
How to create a web form?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
Is php session id unique?
How to replace a substring in a given string?
Explain what are some new features introduced in php7?
What are the options to transfer session ids?
What is putenv?
What exactly is validating and sanitizing?
Explain php parameterized functions.