jquery - Ajax request sending only part of data to PHP server -
I am trying to send an object to my PHP server (which I successfully removed from a handset) in a script Send me In my PHP server, I will just get the data, and save it in my DB: is an array of contentData objects (handsets capable), which has approximately 15 fields in each (one in each column). When I have a small number of rows, everything works as expected, after sending more than 80 rows at a time, I noticed that my PHP content is only 72 items of DataAirase , And the "EndUseID" part of the data is also not found. It seems that, for some reason, only one part of the data was sent to the server, or it was received by it. Is there a limit to the data, can I send it to the request of this post? I checked max_post_size on my server, and it is set to 256 MB. Increase the problem to Max_input_vars in my server's php.ini file Since I had more than 1000 variables in the array, only a portion of the server was received! Hope it helps someone! Function Severmett (ShowList) {var tableData = handsontable.getData (); $ .AJX ({url: "../phprequests/saveMaterials.php", data: {"data": tabledata, "enduser idid": & lt ;? php echo $ endUserId? & Gt;}, datatype: 'jason' , Type: 'post', success: function (race) {if (res.result === 'okay') {if (shoelert) warning ('saved data.');} And {if (shoelert) warning (Res.errorMessage);}}, Error: Job (Excerpt, Status, Error) {If (ShowAuthor) Warning (Error);}}); }
Comments
Post a Comment