I’m using jquery to send text back to my ajax.php controller like this:
var dataString = "1234567890";
$.post(
'../ajax/save',
{ data: dataString },
function(){
alert("success");
},
"text");
It works well, that is until the dataString gets to be ~3500 characters long. At that upper limit (~3.5 KB), the $_POST received by ajax.php is NULL. Why?
(My php.ini post_max_size = 64M, so it’s not that.)
My setup: Apache 2.2, PHP 5.2.9, and CodeIgniter 1.7.1.