note 35858 deleted from function.extract by didou
| From: | didou@php.net | Date: | Wed, 17 Sep 2003 09:11:46 +0000 |
| Subject: | note 35858 deleted from function.extract by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56621@lists.php.net to get a copy of this message | ||
Note Submitter: punknroll@gmx.at
----
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);
}