I
I
Ivan Koryukov2016-09-30 01:00:38
Yii
Ivan Koryukov, 2016-09-30 01:00:38

Why are urlencoded data sent in post truncated?

The matrix 20*25 is transferred to the server, post request. In the request body, if you look through the browser console, the data is transmitted in something like this:

Cell[0][0]=value1&Cell[0][1]=value2&Cell[0][3]=value3...

However, on the server, not all data is in $_POST. Only 20 rows of the matrix out of 25 come in.
Everything worked fine on the old server. There was php 5.3.
Now it works like this on php 5.6.
php.ini looked - restrictions on the size of the post is not worth it.
Is there a size limit on the $_POST array? Or what else can give such a result?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Esin, 2016-09-30
@xotey83

Is the suhosin extension installed on the server? (this is for starters).
There is a limit on the size of the request body. It happens to both the web server and PHP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question