I fight the second day over the following task: there is a database of addresses such as "region", "city", "street", "house", etc. it is necessary to make a mechanism for adding comments to which the list of addresses will be attached, and any level can be attached to a comment, for example:
- "do not assign connection on Saturday", associated with the address "Moscow region, g.Korolyov"
- "do not assign to sunday" associated with addresses
"Moscow region, Korolyov, pr. Cosmonauts d5"
"Moscow region, Korolyov, etc. Cosmonauts d6"
"Moscow region, Korolyov, etc. Cosmonauts d7"
"Moscow region, Korolev, Kosmonavtov Avenue, d8"
Accordingly, when sending a comment with a bunch of attached addresses, I have a huge $_POST , which is simply chopped.
I tried to push through $_COOKIE - the result is the same.
I consider as an option the separation of requests for pieces - one per address and the transfer of such Ajax ...
Is this the only option or can it be made more beautiful?
UP: I apologize, misled, the Apache gives an error 414, did not immediately notice it in the logs at the end of the request.
post_max_size 64M
upload_max_filesize 32M
memory_limit 128M ...
And the size of the incoming data is always different! What kind of nonsense is this? Maybe it's in Phalcon `, which is installed?