[PHP-DEV] Bug #11607 Updated: uploads with type=> From: sniper <email protected>
Date: 06/21/01

ID: 11607
Updated by: sniper
Reported By: lance_laureys <email protected>
Old-Status: Open
Status: Feedback
Old-Bug Type: *Function Specific
Bug Type: HTTP related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:

With which browser/version and on which OS does this happen?
This works for me with ANY file with NS 4.77 just fine.

--Jani

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

[2001-06-21 11:47:56] lance_laureys <email protected>
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

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

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11607&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>