note 35441 added to function.extract
| From: | peppe1001 at hotmail dot com | Date: | Mon, 01 Sep 2003 12:55:44 +0000 |
| Subject: | note 35441 added to function.extract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55402@lists.php.net to get a copy of this message | ||
If you have problems with 'GET or 'POST' variables with the new version of PHP then
you can use this for all versions
if ( phpversion() >= "4.2.0")
{
extract($_POST);
extract($_GET);
extract($_SERVER);
extract($_FILES);
extract($_ENV);
extract($_COOKIE);
extract($_SESSION);
}
----
Manual Page -- http://www.php.net/manual/en/function.extract.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35441
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35441&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35441&report=yes