this took me a while to figure out. When I was creating functions and trying to access predefined variables in the function body using $HTTP_SERVER_VARS["http_referer"], it was returning an empty string, so i used $_SERVER["http_referer"] and my function worked.
Conclusion $_SERVER is a global variable and $HTTP_SERVER_VARS is not.
From what I understand, PHP is moving towards $_SERVER type declarations. Anyone have any insight on this topic?
J.