Re: Variables not working!
| From: | Alvaro Zuniga | Date: | Wed, 28 Jan 2004 18:00:14 +0000 |
| Subject: | Re: Variables not working! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176086@lists.php.net to get a copy of this message | ||
Try this for a generic fix if it is the globals issue:
Place this somewhere to set to TRUE or FALSE when needed
$GLOBAL_FIX = TRUE;
use an include on every script:
if($GLOBAL_VARS_FIX) {
if( phpversion() >= '4.2.0' ) {
extract($_POST);
extract($_GET);
extract($_SERVER);
extract($_ENV);
extract($_COOKIE);
}
}
---
Alvaro Zuniga
Information Technology Professional
(337) 654 6515
www.zunitek.com