Conversion from Php4 to Php5 : Please help!

I’m using the User authentication component by Julio César Carrascal Urquijo and need to convert sections from PHP 4 to PHP 5. Can anyone help with the conversion of

if (!isset($_SERVER)) { // PHP 4.0.x
$_SERVER = &$GLOBALS[‘HTTP_SERVER_VARS’];
}

and

if (!isset($_POST)) { // PHP 4.0.x
$_POST = &$GLOBALS[‘HTTP_POST_VARS’];
$_SERVER = &$GLOBALS[‘HTTP_SERVER_VARS’];
$_SESSION = &$GLOBALS[‘HTTP_SESSION_VARS’];
Echo($_session); // *************
}

Thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service