Just note that REQUEST accounts for COOKIE, POST, and GET data...the
settings for which overrides which are in php.ini.

---John Holmes...

----- Original Message -----
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 10:25 AM
Subject: Re: [PHP] Determine if variable is set


> On Tue, Jun 11, 2002 at 09:06:34AM -0400, J. Anderson Scarbrough wrote:
> > possible to determine whether a variable is set with either $_POST or
$GET
> > without having to do:
> >
> > if(isset($_POST['foo']) || isset($_GET['foo']))
>
> if ( isset($_REQUEST['foo']) ) {
>
> --Dan
>
> --
>                PHP classes that make web design easier
>         SQL Solution  |   Layout Solution   |  Form Solution
>     sqlsolution.info  | layoutsolution.info |  formsolution.info
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>  4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to