ID:               21827
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      4.3.0
 New Comment:

Here's how to stop the clumps (workaround)
1. Always have the first form variable have a name 5 or more letters
2. Don't have a name on the submit button
3. Have the value of any hidden field 4 or more letters or numbers

-Sol


Previous Comments:
------------------------------------------------------------------------

[2003-01-22 18:18:35] [EMAIL PROTECTED]

Hello,
When I post a html form with 3 hidden fields, with 3 or less
alphanumerics as the values, and 4 or less alphanumerics as the NAME of
the first field, and a submit button having a name value, the first
field variable has clumped all the other post data in it, instead of
just the magic variable for field 1 like it should.

Using phpinfo, there is _ENV["+"] after _ENV["REMOTE_PORT"] that shows
the telltale clump, or a line and a square when the form does not meet
the above situation. I do not know what this _ENV["+"] is but think
it's a clue. There's also _SERVER["+"] and in the Environment a plain +
after REMOTE_PORT that will be the name of my hidden field 1 with the
clump data. 

I have seen many other complaints in the bug section about variables
missing or broken, but noone tracked down the cause as well as this. It
takes 3 simultaneous conditions.
You can see this in action at
http://www.zewy.com/phpclump.php

I'm going to put a hidden field with 1000 as the value on every page as
my work-around. 999 didn't work, it's only 3 alphanumerics.

If you could find a fix it would be appreciated. BTW, one day, it's my
dream to have millions of $$$ and donate it to open source developers..
You make the world a better place.

Thanks

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21827&edit=1

Reply via email to