PHP 4.0 Bug #6629: Cutting off HTTP_POST_VARS with CONTENT_LENGTH>20k
| From: | kandr at krystech dot ru | Date: | Fri, 08 Sep 2000 15:25:57 +0000 |
| Subject: | PHP 4.0 Bug #6629: Cutting off HTTP_POST_VARS with CONTENT_LENGTH>20k | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32685@lists.php.net to get a copy of this message | ||
From: kandr@krystech.ru
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: Performance problem
Bug description: Cutting off HTTP_POST_VARS with CONTENT_LENGTH>20k
I have a form with several fields, one of them (art_article)is a textarea (size>20kB)
The php code:
reset ($HTTP_POST_VARS);
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
echo "$key => ".HtmlSpecialChars($val)."<br>\n";
}
output:
art_author => some_value
art_prolog => some_value
art_article => Large amount of text, after ~ 9kb i see '%2
'
All other variables are missing
If size of the textarea ~ 1kb, all works fine