Re: textarea content is randomly cut
| From: | (Richard Lynch) | Date: | Fri, 30 Jun 2000 21:00:34 +0000 |
| Subject: | Re: textarea content is randomly cut | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4146@lists.php.net to get a copy of this message | ||
In article <14791.000622@paloma.spbu.ru>, Pavel.Storozhev@paloma.spbu.ru
("Pavel Yu. Storozhev") wrote:
> Hello, All!
>
> > cat test.php
> <form action=test.php method=post>
> <textarea name=a cols=40 rows=18><? echo $a ?></textarea>
> <textarea name=b cols=40 rows=18><? echo $b ?></textarea>
> <input type=submit>
> </form>
> >
>
> I experience great problems with this simple code. Just enter several
> KB into each field and repeatedly press submit. After random number of
> pushes (~5) the second field appears to be cut, and it ends with the
> '%'. The text pattern is "asdfasdfsdf\n", no unusual characters.
Your webserver is allowed to limit POSTs to as little as 1024 characters,
and still be "spec". While encouraged to not be so chintzy, it would seem
your web-server is limited to about 5K in a POST.
Don't type so much :-^
Switch to file upload for anything bigger than 5K.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)