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
What are the encryption functions available in PHP?
How to strip whitespace (or other characters) from the beginning and end of a string?
Does php need to be installed?
How to remove the new line character from the end of a text line in php?
What is php oops concepts?
Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
Is php still in demand?
What is html used for?
What is the function of mysql_real_escape_string in php?
How to declare an array in php?
Does php need a closing tag?
How long is a php session valid?
How to call javascript function in php without any event?
What are the features of php 7?