ID:               26326
 User updated by:  jnixon at postregister dot com
 Reported By:      jnixon at postregister dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Linux
 PHP Version:      4.3.3
 New Comment:

I mean a .jpg.


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

[2003-12-02 10:21:09] jnixon at postregister dot com

Try the same test whith an image.

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

[2003-11-20 19:54:52] [EMAIL PROTECTED]

Actually ilia, your test case doesn't match his bug report, but I did a
test case which did:

Uploaded a file from  C:\Documents and
Settings\pollita\Desktop\test.png

I got exactly what I'd have expected from the form.

array(1) { 
  ["userfile"]=> array(5) { 
    ["name"]=> string(8) "test.png" 
    ["type"]=> string(10) "text/plain" 
    ["tmp_name"]=> string(14) "/tmp/phpuuE33H" 
    ["error"]=> int(0) 
    ["size"]=> int(11) 
  } 
}


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

[2003-11-20 19:28:20] [EMAIL PROTECTED]

Works just fine, I've uploaded "a b.html" and it worked perfectly.

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

[2003-11-20 10:06:43] jnixon at postregister dot com

I created a simplified version with the code you wanted.
Here are the links, with the source.

http://www.postregister.com/uploadimage/index.php
http://www.postregister.com/uploadimage/index.phps

I got the same results.

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

[2003-11-19 19:33:51] [EMAIL PROTECTED]

Replace that script with this:

<?php

var_dump($_FILES);

?>

And post the output here (when you upload the problem file to it)


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26326

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

Reply via email to