I have coded up a bunch of pages where I do not refer to HTTP_POST_VARS and _GET variables with the prefix.
So instead of $HTTP_POST_VARS[user_id], I simply reference $user_id.
The reasoning was that I have the same variables being submitted to the same page, sometimes by form and sometimes by URL variables. So instead of having to have some IF statement to load a local variable based on whether or not it's a form or URL - I could skip that step and refer to the variable minus the prefix.
Well... I moved the code to my workstation where I installed PHP. I'm sure you know what happened next ... they all broke. Addding the appropriate prefix fixes this problem, but does not answer the bigger questions:
1) Is what I did considerd poor practice and if so, why?
2) If it's not a terrible thing to do, what PHP.ini setting would allow me to run the code on my workstation without modification?
Thanks!