CodeIgniter Disallowed Key Characters
The problem is you are using characters not included in the standard Regex. Use this: !preg_match(“/^[a-z0-9\x{4e00}-\x{9fa5}\:\;\.\,\?\!\@\#\$%\^\*\”\~\’+=\\\ &_\/\.\[\]-\}\{]+$/iu”, $str) As per the comments (and personal experience) you should not modify they Input.php file — rather, you should create/use your own MY_Input.php as follows: <?php class MY_Input extends CI_Input { /** * Clean Keys * * This … Read more