phat code A narrow mind has a broad tongue.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
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.
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.