Welcome Guest, Not a member yet? Register   Sign In
How can i activate the variables register globals ?
#1

[eluser]Browser[/eluser]
How can i activate the variables register globals ?
#2

[eluser]BrianDHall[/eluser]
While it is highly advisable that you don't, the php manual tells you everything you will need to know.
#3

[eluser]Derek Allard[/eluser]
I think you mean how can you override CI's security preferences of disabling register globals?
Quote:Register_globals
----------------------------
During system initialization all global variables are unset, except those found in the $_POST and $_COOKIE arrays. The unsetting routine is effectively the same as register_globals = off.

Firstly, I agree wholeheartedly with Brian that this is almost ALWAYS a bad idea, and if you feel you need to do this perhaps you should reconsider how your app is built.

That said, CI is about empowering programmers, and as such you'll find the function _sanitize_globals() in the Input Class, and I guess you could replace the core class with one of your own.




Theme © iAndrew 2016 - Forum software by © MyBB