Welcome Guest, Not a member yet? Register   Sign In
How can i activate the variables register globals ?
#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.


Messages In This Thread
How can i activate the variables register globals ? - by El Forum - 09-17-2009, 01:23 PM
How can i activate the variables register globals ? - by El Forum - 09-17-2009, 04:10 PM
How can i activate the variables register globals ? - by El Forum - 09-17-2009, 11:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB