There's a few things you can look for help solve this.
Has anything changed or been extended in the core CodeIgniter files. Check that system/core/Input.php
is an original copy and the contents of application/library
and application/core
for additional files
Do the other input methods work? What is the result of this when run beside your print_r
call?
echo $this->input->user_agent();
What data is output from print_r
? Look in application/config/config.php
for the line $config['global_xss_filtering']
. Is this set to TRUE
or FALSE
? If TRUE
maybe the cross site scripting filter has a problem with the data you're posting (this is unlikely I think)