note 35858 added to function.extract

From: Date: Wed, 17 Sep 2003 09:11:11 +0000
Subject: note 35858 added to function.extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-56620@lists.php.net to get a copy of this message
this code helped me to get my odl projects work in newer php versions (exept of fileupload): if(phpversion()>= "4.1.0"){ if(isset($_GET))extract($_GET, EXTR_SKIP); if(isset($_POST))extract($_POST, EXTR_SKIP); if(isset($_COOKIE))extract($_COOKIE, EXTR_SKIP); if(isset($_SESSION))extract($_SESSION, EXTR_SKIP); if(isset($_SERVER))extract($_SERVER, EXTR_SKIP); if(isset($_ENV))extract($_ENV, EXTR_SKIP); } ---- Manual Page -- http://www.php.net/manual/en/function.extract.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35858 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35858&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35858&report=yes

« previous php.notes (#56620) next »