i try to send a long text (ca. 25k to 26k characters) via php Post ($_POST) from a form to my php script. i know, that this is a restriction from apache (LimitRequestLine,
LimitRequestFieldSize)
is there a workaround or a possibility to change the max value? Maybe split the text and post it in chunks? if this is the only solution, is somebody willing to help me on this one?
…sorry if informations are missing. im on this topic for hours now and my head feels wobbly. if more informations are needed, feel free to ask.
If you get a 414 type error, “URI Too Long”, then you’re not using POST data. This URL means that the query string (i.e. the GET data) is too long. The MDN docs are quite clear about this: 414 URI Too Long - HTTP | MDN
If you switch this to actual POST data, your max input size is limited by the post_max_size setting, which is currently 20 MB. So that should be more than enough to submit your long text.