php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22539 enctype=multipart/form-data limiting form size
Submitted: 2003-03-04 14:23 UTC Modified: 2003-03-04 19:33 UTC
From: tech13 at powerweb dot net Assigned:
Status: Closed Package: Variables related
PHP Version: 4.3.0 OS: Windows 2000
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: tech13 at powerweb dot net
New email:
PHP Version: OS:

 

 [2003-03-04 14:23 UTC] tech13 at powerweb dot net
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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-04 19:33 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 21:01:26 2019 UTC