Fling-master Sun Jul 16 2006 at 7:18 pm Another workaround....
Though you don't need it now I guess. :P
//HTTP_GET_VARS
while (list($key, $val) = @each($_GET)) {
$GLOBALS[$key] = $val;
}
//HTTP_POST_VARS
while (list($key, $val) = @each($_POST)) {
$GLOBALS[$key] = $val;
}
//$HTTP_SESSION_VARS
while (list($key, $val) = @each($_SESSION)) {
$GLOBALS[$key] = $val;
} Stick that at the top of index.php and admin.php. Haven't actually tested that, but I've used similar code to get old php scripts that relied on register_globals in the past with some success.
- Plasma - Dav (Sat Jul 15 2006 at 7:57 pm)
- hrmmm - Plasma (Sat Jul 15 2006 at 8:08 pm)
|