Answer the question
In order to leave comments, you need to log in
Are there any restrictions on sending post data?
Sending an array larger than 2000 via jquery ajax post json.
In the script, I output the length to the console, the sent array gives out, for example, 2010.
And I return the length of the array from the server, it "claims" that it received exactly 2000.
Where can it cut?
$.ajax({
url: "ajax.php",
type: 'post',
dataType: 'json',
data: {
'from' : 'funcStart',
'lines' : arLines
}.....
arLines = [
{
'text' : "Строка",
'param1' : ...,
'param2' : ...,
'param3' : ...,
....
}
]
Answer the question
In order to leave comments, you need to log in
Seems to have healed.
On sending I did
In php I made json_decode
It seems to work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question