php - Ajax limit on post size -


background...

i'm using handsontable.js enable user manipulate large number of rows of data. there 4 columns represented in object below 'id' , 'order' ,'no' , , 'name'. when user satisfied edits, click button , data should sent via ajax processing. data looks ...

 array     (         [0] => array             (                 [id] => 194                 [drawing] => array                     (                         [order] =>                          [no] => a0001                         [name] => -                     )             )      ) 

problem...

the data object contains 464 elements (this number vary greatly). 250 received php script.

the javascript....

function reorder(){     var stuff = hot1.getdata();      $.ajax({         url: '/php/listorder_processes.php',         type: 'post',         data: { value: stuff },         success: function(result) {             console.log(result);         }     }); } 

and php...

$result = $_post['value'] $count = count($result); echo $count; 

the result in console 250, while again 400+ items sent.

my php.ini file has post_max_size of 2000m - dont think issue.

i have considered comparing original data object (that defines data table) new data object (that has been modified) - , sending pieces have changed processing, likelihood of exceeding 250 100% - i'm kind of stuck here.

stringifying object did not work.

some similar posts point max_input_vars, i'm not quite sure that's problem either.

scratch - max input vars issue.

thanks.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -