Almost all code of vshare will work with register_globals off.

Our local working copy works with register_globals off. We recently started working with all php errors on. So in next two release, the code will be much better.