ID: 16001
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.1.2
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2002-03-11 13:40:16] [EMAIL PROTECTED]
There seems to be a problem when getting uploaded file's mime-type. The
problem occurs only with Opera.
The file is uploaded correctly, and then I try to check the uploaded
file's mime-type.
$userfile_type gives:
image/gif; name=\"logo3.gif\"
It should be of cource only "image/gif". And the name should be
reported only in $userfile_name, not in $userfile_type.
So I'll have to write a correction to every my scripts involved with
file-uploads.
Correction I have made:
list ($userfile_type) = split(";", $userfile_type);
I have made an example page for uploading images, which is in the
address:
http://ihastus.net/phpbug/
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16001&edit=1