php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6629 Cutting off HTTP_POST_VARS with CONTENT_LENGTH>20k
Submitted: 2000-09-08 11:25 UTC Modified: 2000-09-11 20:42 UTC
From: kandr at krystech dot ru Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
 [2000-09-08 11:25 UTC] kandr at krystech dot ru
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 	

Patches

Pull Requests

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 03:00:02 2026 UTC