IT Community - Software Programming, Web Development and Technical Support

What is the use of $_REQUEST method?

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-10-2007, 03:08 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default What is the use of $_REQUEST method?

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-16-2007, 05:06 AM
Anand Anand is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 52
Anand is on a distinguished road
Default Re: What is the use of $_REQUEST method?

With the help of $_REQUEST you can access to both $_GET and $_POST values. no matter from where it comes from.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 01:42 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: What is the use of $_REQUEST method?

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
jquery draggable() method for div saravanan HTML, CSS and Javascript Coding Techniques 0 03-25-2008 05:42 AM
Main method vigneshgets C# Programming 2 08-16-2007 11:06 PM
which method to use so that last inserted value can be retrieve. KiruthikaSambandam Database Support 1 08-07-2007 12:13 AM
When to you use $_REQUEST[ ] array in php..? oxygen PHP Programming 2 07-30-2007 04:52 AM
What is an ActiveX method? prasath C and C++ Programming 1 07-30-2007 03:32 AM


All times are GMT -7. The time now is 02:52 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0