Now with this i only have one global , and that is DataLoader load;
I,m hoping to get voted up now for once!
You don't typically get voted up for making your own problems better. Or even voted down for making yourself problems.
You get voted down for encouraging others to adopt your mistakes.
It should come as no surprise then, that helping others to avoid the mistakes you've made or that you know are mistakes is the way to get voted up.
@Ravyne : Saying that i am uneducated, but not giving a better solution ?
Better solutions are well known. Abuse of global is the first thing covered in any software engineering course or book. Even most introductory programming classes or books will get around to mentioning in their first half.
But somehow you missed this information, and instead glibly recommended against best practices and then boasted how good you must be to not have experienced any of its known problems.
I'm probably coming of harshly, but I'm just being frank. Everyone is welcome here but don't expect to be awarded points for mere participation. When you offer up advice, that advice will be judged. So before you offer it, consider whether it is good advice and whether you are actually qualified to judge whether it us or not. If you want to share something that there's no consensus on, present it as opinion rather than fact. And if you want to share something that is contrary to best practices, qualify when the problems can be ignored.
For example, if you had said something like "In small, throw-away projects under a couple thousand lines long, I like to just use global when I'm coding from the hip." is an entirely different answer than "I think globals are great!" and it probably wouldn't have gotten any down-votes at all.