ID: 21827 Comment by: steve at bluearena dot com Reported By: sol at zewy dot com Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.3.0 New Comment:
Upgrading to 4.3.2-dev has fixed the bug for me. Many thanks. Previous Comments: ------------------------------------------------------------------------ [2003-02-13 00:43:45] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I can not reproduce this with PHP 4.3.1-dev. ------------------------------------------------------------------------ [2003-01-22 18:26:39] sol at zewy dot com 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 ------------------------------------------------------------------------ [2003-01-22 18:18:35] sol at zewy dot com 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