If global variables isn't turned on, how will a script handle a call to HTTP_REFERER?
$SERVER['HTTP_REFERER'] and all other $SERVER variables are what are called Superglobals, which means they're always global already.