From:             tech13 at powerweb dot net
Operating system: Windows 2000
PHP version:      4.3.0
PHP Bug Type:     Variables related
Bug description:  enctype=multipart/form-data limiting form size

when i have more the 11 fields in a form that has enctype multipart, it
doesn't show that ANY form was submitted.

this case comes up frequantly while using phpMyAdmin which is how i first
found the problem

when i submit the 11 field with enctype it works fine
12 fields with enctype it doesn't
12 fields without enctype it works again (files won't upload in this case,
but that isn't reflected it the test script)

---------script---------
<pre>
<?php print_r($_POST); ?>
</pre>

<form method="post" enctype="multipart/form-data">

            <input type="hidden" name="a" value="1">
            <input type="hidden" name="b" value="2">
            <input type="hidden" name="c" value="3">
            <input type="hidden" name="d" value="4">
            <input type="hidden" name="e" value="5">

            <input type="hidden" name="f" value="6">
            <input type="hidden" name="g" value="7">
            <input type="hidden" name="h" value="8">
            <input type="hidden" name="i" value="9">
            <input type="hidden" name="j" value="10">

            <input type="hidden" name="k" value="11">

            <input type="submit" value="11 fields">
</form>

<form method="post" enctype="multipart/form-data">

            <input type="hidden" name="a" value="1">
            <input type="hidden" name="b" value="2">
            <input type="hidden" name="c" value="3">
            <input type="hidden" name="d" value="4">
            <input type="hidden" name="e" value="5">

            <input type="hidden" name="f" value="6">
            <input type="hidden" name="g" value="7">
            <input type="hidden" name="h" value="8">
            <input type="hidden" name="i" value="9">
            <input type="hidden" name="j" value="10">

            <input type="hidden" name="k" value="11">
            <input type="hidden" name="l" value="12">
            <input type="submit" value="12 fields">
</form>

<form method="post">
            <input type="hidden" name="a" value="1">
            <input type="hidden" name="b" value="2">
            <input type="hidden" name="c" value="3">
            <input type="hidden" name="d" value="4">
            <input type="hidden" name="e" value="5">

            <input type="hidden" name="f" value="6">
            <input type="hidden" name="g" value="7">
            <input type="hidden" name="h" value="8">
            <input type="hidden" name="i" value="9">
            <input type="hidden" name="j" value="10">

            <input type="hidden" name="k" value="11">
            <input type="hidden" name="l" value="12">

            <input type="submit" value="12 no enctype">
</form>

-- 
Edit bug report at http://bugs.php.net/?id=22539&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22539&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22539&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22539&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22539&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22539&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22539&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22539&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22539&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22539&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22539&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22539&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22539&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22539&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22539&r=gnused

Reply via email to