gamblingprestige73
New Member
- Messages
- 5
- Reaction score
- 0
- Points
- 0
Hello, how can I turn on "register globals" option for my site? Most php scripts not working untill this option will be turned on. Thanks.
Register_globals was changed way back in php4 to be defaulted to "off", depreciated in php5, and no longer exists in php6 as an option because it is a massive security risk.
And can you define what you mean by "most php scripts," since all the ones I've seen that don't work with register_globals off are outdated and full of other problems, while more recent scripts have all been coded to NOT use register globals?
Edit: Descalzo beat me to it, but I'm gunna leave the post - the first line in particular here details that it wasn't actually x10hosting who shut it off, but the php developers themselves. For them to change it from "on" to "off" by default, then depreciate the function, and then remove it completely, there must be something about that function they don't like![]()
I understand that, no one hosting service do not want ot risk. On other hosting register_globals turned on by selected directories only inside account which do not touches entire server. But I can't change the code inside entire script (and I don't know how, also I believe this is not possible) to make it run without register_globals.we can't run the risk that a register_globals exploit can take down the entire server