Re: php features
| From: | Daniel Lorch | Date: | Tue, 15 Jan 2002 03:39:15 +0000 |
| Subject: | Re: php features | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77087@lists.php.net to get a copy of this message | ||
Hi,
> I am not sure how to go about doing this so I would like to ask the experts.
> I would like to make or find a php function would allow me to use the
> arguments passed to a page or the arguments passed to a function as an
> array. Imagine how easily you could trim, htmlentities and do any number of
> things if you could set up a loop to take care of all or a selection of
> values passed!!!!
foreach($HTTP_GET_VARS as $key => $value)
$$key = htmlentities($value);
(not tested)
Kind Regards,
Daniel Lorch
http://daniel.lorch.cc/
--
@echo "Hello, World";