Bug #11607: uploads with type=>
| From: | lance_laureys at 3com dot com | Date: | Thu, 21 Jun 2001 15:47:57 +0000 |
| Subject: | Bug #11607: uploads with type=> | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57559@lists.php.net to get a copy of this message | ||
From: lance_laureys@3com.com
Operating system: bsdi 4.x
PHP version: 4.0.5
PHP Bug Type: *Function Specific
Bug description: uploads with type=>
Current version of PHP 4.0.5
Doing the default HTTP post uploads right from the documentation I am seeing a problem where if I
upload a text file, word document it works fine and reports the file size back.
Array ( [userfile] => Array ( [name] => Computer Features.htm [type] => text/html
[tmp_name] => /var/tmp//php015005 [size] => 1350 ) )
Array ( [userfile] => Array ( [name] => catmatrix.jpg [type] => image/pjpeg [tmp_name]
=> /var/tmp//php015005 [size] => 27094 ) )
When doing .pdf, .exe .wab (other's im not sure of)
Array ( [userfile] => Array ( [name] => ClientReferenceJS13.pdf [type] => application/pdf
[tmp_name] => none [size] => 0 ) )
Array ( [userfile] => Array ( [name] => dMC-r3.exe [type] => application/octet-stream
[tmp_name] => none [size] => 0 ) )
There not being uploaded althought it seems they are by the httpd processing spinning up.
Any ideas what would cause this?
L
--
Edit Bug report at: http://bugs.php.net/?id=11607&edit=1