|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-11 13:42 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
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/