Welcome Guest, Not a member yet? Register   Sign In
xss ->EDITED: fix found, but have another question.
#1

[eluser]H8train[/eluser]
ok so I had this big long question about global_xss_filtering and how when i attempt to test with a simple xss:
Code:
alert('xss');

I would get this output:

Code:
Fatal error: Call to undefined function: get_instance() in /blah/blah/blah/libraries/Input.php on line 855

I wanted to get rid of this type of error reporting? so I set in the main index:
error_reporting(0);
but now I would like to redirect back to the main index after this error is generated. anyone have a quick fix?

Thanks for your replies.

Rich
#2

[eluser]Derek Allard[/eluser]
Hey Rich.

Are there any native PHP functions that get triggered on error that might be helpful to you?




Theme © iAndrew 2016 - Forum software by © MyBB