I have form:
<form method='post' action='script.php'>
<textarea id='main' name='text'></textarea>
<input type='hidden' name='id' value='1'>
<input type='hidden' name='a' value='ulozitclanek'>
<input type='submit' name='button' value='Save'>
</form>
If I type short text into a textarea and submit, then in script.php I already have my text in variable $_POST['text']. However if the text is about 70000 character long, it isn’t in $_POST['text']. I can see net log from Firebug and my text is in encoded string, which was sent by my browser to the server. But in $_POST array is my text missing.
This problem I have only on production server, when I test this script on localhost, it works also with long texts.
Is there any server option, which limits maxlen of post values?
In PHPinfo, I can see post_max_size set to 20M, there must be another problem, but I can’t solve it on my own 🙁
Any ideas?
Tanks.
As per Eda’s Comment