php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29462 lost post data
Submitted: 2004-07-30 22:17 UTC Modified: 2004-08-27 09:10 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: gary at garyslittlecompany dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.9 OS: wxp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gary at garyslittlecompany dot com
New email:
PHP Version: OS:

 

 [2004-07-30 22:17 UTC] gary at garyslittlecompany dot com
Description:
------------
Please see my last note to bug #22427.  I am experiencing the same problem, I would not submit this again, except, it appears that I can not change the status to open again, since I am not the owner, so I added this to one to point to that.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-24 02:24 UTC] golden_moon_rising at yahoo dot com
Yup, confirmed. I am using a FastCGI SAPI 4.3.9-dev (php4-STABLE-200408091430), and having the same issue:

When a trivial HTML-only web page with a single input item, a textarea, contains more than 1000 characters, the post data is lost by PHP.

When I point the form to a Perl CGI, I can see all the text, but pointing the form to a trivial PHP script that does var_dump on $_REQUEST, I get an empty array.

If I remove a single byte from the text area, presto .. everything looks/works normal.  This was a tad frustrating to isolate.  Now to dig through PHP code to see what the heck is happening at the 1,000th character.

First, I will download the latest snapshot ..
 [2004-08-27 01:13 UTC] golden_moon_rising at yahoo dot com
Found it.  A third-party patch was choking.  The problem had nothing to do with the source code shipped with PHP 4.3.9.
To anyone else with this problem, try removing any third-party patches first ..
 [2004-08-27 09:10 UTC] derick@php.net
Marking as Bogus then, as it's not a bug in PHP proper.
 [2004-09-24 01:24 UTC] news at orangeinside dot com
The staff could be more kind to say what patches we are supposed to remove, especially when you checked the situation and know the answer. :)

I had the same problem with disappearing POST variables, when their values are larger than 1000 chars. If you had compiled the PHP with hardened flag set ON, you should check the value of "varfilter.max_value_length" in php.ini. By default it is set to 1000 and changing it had solved my problems.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 13:01:32 2024 UTC