#40281 [NEW]: form with enctype="multipart/form-data" doesn't work

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40281 [NEW]: form with enctype="multipart/form-data" doesn't work

    From: hongying4 at yahoo dot ca
    Operating system: windows 2003
    PHP version: 5.2.1RC4
    PHP Bug Type: Apache2 related
    Bug description: form with enctype="multipart/form-data" doesn't work

    Description:
    ------------
    any form with enctype="multipart/form-data" can't be submitted. it keep
    'opening page ...' until time out.
    form without enctype="multipart/form-data" works fine.



    Reproduce code:
    ---------------
    <?php
    echo '<pre>';
    print_r($GLOBALS);
    echo '</pre>';

    ?>
    <hr>
    <form enctype="multipart/form-data" method="POST" >
    <!-- <form method="POST"> -->
    <input type="text" name="test" value="test1" />
    <input type="submit" name="submit" value="submit" />
    </form>


    Expected result:
    ----------------
    mmmm, should be display all the variables and the form after submitted.

    Actual result:
    --------------
    it display 'opening page [url]http://.[/url]..... '
    .......
    ......
    .....
    ....
    ...
    ..
    (time out)

    display 'The page cannot be displayed' page

    --
    Edit bug report at [url]http://bugs.php.net/?id=40281&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40281&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40281&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40281&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40281&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40281&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40281&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40281&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40281&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40281&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40281&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40281&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40281&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40281&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40281&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40281&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40281&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40281&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40281&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40281&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40281&r=mysqlcfg[/url]
    hongying4 at yahoo dot ca Guest

  2. Similar Questions and Discussions

    1. file upload form enctype="multipart/form-data
      I'm upload a file using cffile upload and that seems to work fine except I need to use enctype="multipart/form-data on the form side. This isn't a...
    2. #26004 [Opn->Fbk]: $_POST variables not set when using enctype="multipart/form-data"
      ID: 26004 Updated by: moriyoshi@php.net Reported By: jacknorton101 at hotmail dot com -Status: Open +Status: ...
    3. #26004 [NEW]: $_POST variables not set when using enctype="multipart/form-data"
      From: jacknorton101 at hotmail dot com Operating system: RedHat Linux 9 PHP version: 4.3.3 PHP Bug Type: *General Issues Bug...
    4. Using <form ... enctype="multipart/form-data">
      I am using an upload util and I was told I need this option, enctype="multipart/form-data", in my FORM tag. How do I reference the other form...
    5. enctype="multipart/form-data" is screwing up the form variables
      In article <25514fc4.0307050937.7f801e8b@posting.google.com>, dhoult@landair.com (Daniel) wrote: If you correct the spelling of "method" does...
  3. #2

    Default #40281 [Opn]: form with enctype="multipart/form-data" doesn't work

    ID: 40281
    User updated by: hongying4 at yahoo dot ca
    Reported By: hongying4 at yahoo dot ca
    Status: Open
    Bug Type: Apache2 related
    Operating System: windows 2003
    PHP Version: 5.2.1RC4
    New Comment:

    Apache Version: Apache/2.2.3 (Win32)
    php version : PHP/5.2.1RC4-dev


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

    [2007-01-30 02:55:22] hongying4 at yahoo dot ca

    Description:
    ------------
    any form with enctype="multipart/form-data" can't be submitted. it keep
    'opening page ...' until time out.
    form without enctype="multipart/form-data" works fine.



    Reproduce code:
    ---------------
    <?php
    echo '<pre>';
    print_r($GLOBALS);
    echo '</pre>';

    ?>
    <hr>
    <form enctype="multipart/form-data" method="POST" >
    <!-- <form method="POST"> -->
    <input type="text" name="test" value="test1" />
    <input type="submit" name="submit" value="submit" />
    </form>


    Expected result:
    ----------------
    mmmm, should be display all the variables and the form after submitted.

    Actual result:
    --------------
    it display 'opening page [url]http://.[/url]..... '
    .......
    ......
    .....
    ....
    ...
    ..
    (time out)

    display 'The page cannot be displayed' page


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40281&edit=1[/url]
    hongying4 at yahoo dot ca Guest

  4. #3

    Default #40281 [Opn->Fbk]: form with enctype="multipart/form-data" doesn't work

    ID: 40281
    Updated by: [email]tony2001@php.net[/email]
    Reported By: hongying4 at yahoo dot ca
    -Status: Open
    +Status: Feedback
    Bug Type: Apache2 related
    Operating System: windows 2003
    PHP Version: 5.2.1RC4
    New Comment:

    Works just fine here.


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

    [2007-01-30 02:56:19] hongying4 at yahoo dot ca

    Apache Version: Apache/2.2.3 (Win32)
    php version : PHP/5.2.1RC4-dev

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

    [2007-01-30 02:55:22] hongying4 at yahoo dot ca

    Description:
    ------------
    any form with enctype="multipart/form-data" can't be submitted. it keep
    'opening page ...' until time out.
    form without enctype="multipart/form-data" works fine.



    Reproduce code:
    ---------------
    <?php
    echo '<pre>';
    print_r($GLOBALS);
    echo '</pre>';

    ?>
    <hr>
    <form enctype="multipart/form-data" method="POST" >
    <!-- <form method="POST"> -->
    <input type="text" name="test" value="test1" />
    <input type="submit" name="submit" value="submit" />
    </form>


    Expected result:
    ----------------
    mmmm, should be display all the variables and the form after submitted.

    Actual result:
    --------------
    it display 'opening page [url]http://.[/url]..... '
    .......
    ......
    .....
    ....
    ...
    ..
    (time out)

    display 'The page cannot be displayed' page


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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40281&edit=1[/url]
    tony2001@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139