note 30990 added to function.extract
| From: | noel dot darlow2 at virgin dot net | Date: | Sat, 05 Apr 2003 16:26:20 +0000 |
| Subject: | note 30990 added to function.extract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46260@lists.php.net to get a copy of this message | ||
er.. I meant to write:
extract($_GET, EXTR_PREFIX_ALL, "prefix");
I didn't mean to suggest that GET should be replaced by POST: it's the prefix that makes
the extracted vars safe so they can't over-write a previously declared item with the same name.
--
http://www.php.net/manual/en/function.extract.php
http://master.php.net/manage/user-notes.php?action=edit+30990
http://master.php.net/manage/user-notes.php?action=delete+30990
http://master.php.net/manage/user-notes.php?action=reject+30990