Re: Finding out how a variable was registered
| From: | Michael Davey | Date: | Wed, 05 Jun 2002 18:52:44 +0000 |
| Subject: | Re: Finding out how a variable was registered | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100763@lists.php.net to get a copy of this message | ||
Iff you asre using the latest version of PHP, use the $_GET/$_POST
superglobals
regards,
Mikey
"Joe Pemberton" <joe@joepnet.com> wrote in message
news:000f01c20cc1$1df6f320$9b6ee60c@c1195782a...
Is there a function call to figure out how a variable was registered? I am
writing a page that handles a form and I need to know whether or not a
variable was created using the GET or POST method (I don't want the user to
be able to to 'foo.php?var=value' and mess with the results)
- - Joe
joe@joepnet.com