Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to undefined method CI_Input::xss_clean()
#1

[eluser]James Star[/eluser]
Hello,

I am doing an upgrade from 1.7.x to 2.x.

And I have some code that is pointing to the xss_clean method in Input Class.

Here is the code: $this->input->xss_clean($cleanthis);

And I am retrieving this error: Fatal error: Call to undefined method CI_Input::xss_clean() in ...

I also can't seem to find where the Input class might have been loaded in the previous version, and I tried to do a manual load above the code: $this->load->library('input'). But I still get the same error.

Anyone got any ideas?



Messages In This Thread
Fatal error: Call to undefined method CI_Input::xss_clean() - by El Forum - 11-04-2012, 05:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB