try this:
$nozip = 1;
define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
if ($user_info['user_level'] > GUEST)
{
// user logged in.
}
else
{
// else user not logged in.
}
But I'm pretty much sure this will not work, especialy if a member has blocked cookies.