0
我使用jQuery發送文本回到我的ajax.php控制器是這樣的:jquery ajax POST大小限制?
var dataString = "1234567890";
$.post(
'../ajax/save',
{ data: dataString },
function(){
alert("success");
},
"text");
它運作良好,這是直到dataString獲取要長〜3500個字。在該上限(〜3.5 KB)處,ajax.php收到的$ _POST爲NULL。爲什麼?
(我的php.ini的post_max_size = 64M,所以它不是。)
我的設置:Apache 2.2的,PHP 5.2.9,和笨1.7.1。
請參閱作者:regilero對http://stackoverflow.com/questions/9691057/php-apache-ajax-post-limit的評論 – 2012-05-16 11:16:45