I need (!) to insert/update large text to the MySQL database through POST method by placing these texts into the "textarea" of the HTML form and passing them as parameters to other functions which perfom preview of the text and then editing/updating/inserting them into the MySQL.
The problem is that it doesn't work -- if text size larger than some "magic" amount of characters (BTW, can anyone tell me what is that number), the script drops me back to the initial page without giving any errors or warnings. Of course, nothing goes to the database. 🙁
Please, suggest or give examples how to overcome that problem? Is it something to do with $HTTP_POST_VARS and their limitation?
Just in case, to predict some of your suggestions:
1. No, addslahes() won't help, 'cause there is absolutely no slashes in the text or any other special characters, just plain latin letters and numbers.
2. Additional timeout doesn't help. I have tried to increase its values, but that didn't help.
3. There is absolutely no errors or warnings in the php-code itself. (I tracked them all down). And anyway it works perfectly with small texts.
Any help appreciated. Thanks a lot in advance!