Re: Wierd PHP Problem
| From: | Leif Gregory | Date: | Wed, 23 Feb 2005 21:47:14 +0000 |
| Subject: | Re: Wierd PHP Problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209297@lists.php.net to get a copy of this message | ||
Hello Will,
Wednesday, February 23, 2005, 2:39:27 PM, you wrote:
W> On this subject, is there anything 'wrong' with using $_REQUEST
W> instead of specifying between $_POST and $_GET?
$_REQUEST includes POST, GET, and cookies. It basically boils down to
knowing where the information is coming from.
If they should *only* be able to log in from a login screen and the
form method is POST, then you should only be checking POST variables
for a match.
--
Leif (TB lists moderator and fellow end user).
Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB