This is a discussion on What is the use of $_REQUEST method? within the PHP Programming forums, part of the Web Development category; hi, For getting url values we can use $_GET and getting posted values we can use $_POST. Then What is ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi, For getting url values we can use $_GET and getting posted values we can use $_POST. Then What is the use of $_REQUEST method?
__________________ With, J. Jeyaseelan Everything Possible |
|
#2
| |||
| |||
| With the help of $_REQUEST you can access to both $_GET and $_POST values. no matter from where it comes from. |
|
#3
| |||
| |||
| what anand said is correct. Hence we can get the variables with out considering whether the variable is from the get method or from post method by using the request method.
__________________ J.Vijayanand |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| per-assembly or per-method | gkumar | ASP and ASP.NET Programming | 0 | 07-20-2009 10:50 PM |
| QA method for software customizations | sandamal | Quality Engineering and Methodologies | 1 | 07-08-2009 06:10 AM |
| Main method | vigneshgets | C# Programming | 2 | 08-16-2007 10:06 PM |
| When to you use $_REQUEST[ ] array in php..? | oxygen | PHP Programming | 2 | 07-30-2007 03:52 AM |
| What is an ActiveX method? | prasath | C and C++ Programming | 1 | 07-30-2007 02:32 AM |
Our Partners |