note 58095 deleted from reserved.variables by jome
| From: | jome@php.net | Date: | Mon, 24 Oct 2005 09:09:25 +0000 |
| Subject: | note 58095 deleted from reserved.variables by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97503@lists.php.net to get a copy of this message | ||
Note Submitter: admin at mysqldumper dot de
Reason: bad code
----
A shorter way of importing all vars in $_GET is:
<?php extract($_GET); ?>
or if you want all vars from $_GET, $_POST and $_COOKIE you can use:
<?php extract($_REQUEST);?>
But be aware of security issues and also take a look at the possible parameterlist of extract().