what is the difference between GET,POST and REQUEST in php
Answer / 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 |
Is PHP is procedure oriented or object oriented?
Actually am working in existing project which is developed in .net, am converting the .net into php code. am facing problem after uploading the .php in server. amgetting the error message like "The page cannot be found" but its working perfectly in local host
How can we automatically escape incoming data?
This is regarding file uploading. 1. Who will be the owner of the uploaded file ? 2. What permission you will give for an uploaded file ? 3. What is mean by user, group and others and what kind of permission you will give for each user and explain the reason?
what is difference between edit and update?
Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?
Write a program to display reverse of any number?
What is php limit?
What is the difference between associative array and indexed array?
What is php mean?
What are the benefits of using php and mysql?
What is php compared to html?