ID:               19848
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: SunOS 5.8 + Windows 2000 Pro
 PHP Version:      4.2.3
 New Comment:

On Windows, I used a 4.2.1 PHP version and 2.0.39 Apache version.
On SunOS, a 4.2.3 PHP version and 1.3.26 Apache version are used.

The results are identical

The $_POST variable is uncomplete:
Array
(
    [toto] => Array
        (
            [a] => a
            [b] => b
            [c] => C:\TEMP\PHPUPLOAD\php23F.tmp
        )
)


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

[2002-10-10 10:28:20] [EMAIL PROTECTED]

grr, need a new trackball

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

[2002-10-10 10:27:29] [EMAIL PROTECTED]

I think a dupe of
http://bugs.php.net/17958

as $_REQUEST is a combination of $_GET, $_POST, $_COOKIE.

Are you using Apache 2 and can you verify what's posted in there?

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

[2002-10-10 10:27:28] [EMAIL PROTECTED]

I think a dupe of
http://bugs.php.net/17958

as $_REQUEST is a combination of $_GET, $_POST, $_COOKIE.

Are you using Apache 2 and can you verify what's posted in there?

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

[2002-10-10 10:10:42] [EMAIL PROTECTED]

In this particular form case:

<FORM METHOD=POST ACTION="test2.php" enctype="multipart/form-data">
<INPUT TYPE="text" NAME="toto[a]"><BR>
<INPUT TYPE="text" NAME="toto[b]"><BR>
<INPUT TYPE="file" NAME="toto[c]"><BR>
<INPUT TYPE="submit">
</FORM>

we expect in $_REQUEST:
Array
(
    [toto] => Array
        (
            [a] => a
            [b] => b
            [c] => Array
             (
                  [name] => apple.jpg
                  [type] => image/pjpeg
                  [tmp_name] => C:\TEMP\PHPUPLOAD\php233.tmp
                  [error] => 0
                  [size] => 24777
             )
        )
)

and unfortunately we get:
Array
(
    [toto] => Array
        (
            [name] => Array
                (
                    [c] => apple.jpg
                )
            [type] => Array
                (
                    [c] => image/pjpeg
                )
            [tmp_name] => Array
                (
                    [c] => C:\TEMP\PHPUPLOAD\php234.tmp
                )
            [error] => Array
                (
                    [c] => 0
                )
            [size] => Array
                (
                    [c] => 24777
                )
        )
)

.......





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


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

Reply via email to