Quote:
Originally posted by Jawelin
Even I got almost confused by the VBulletin management of those vars. Sometimes some are accessed by getenv() function, sometimes directly via a $HTTP_var constant.
What's the difference ???
|
Most of those vars can be accessed directly by using $HTTP_XXXXX. But to access those vars in a function, you need to use getenv("HTTP_XXXXX") or $GLOBALS["HTTP_XXXXX"], or declare them as global in the function.