RE: [PHP] Detecting Variable Type
| From: | Boget, Chris | Date: | Fri, 29 Sep 2000 18:28:42 +0000 |
| Subject: | RE: [PHP] Detecting Variable Type | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18092@lists.php.net to get a copy of this message | ||
> when a parameter is passed or posted, php automatically
> places them into a variable name. However, is there any way
> to detect where the variable has come from? (ie cookie/form/url?)
Check it's existance in any of the following arrays:
$HTTP_POST_VARS
$HTTP_COOKIE_VARS
$HTTP_GET_VARS
Chris