Problems with CI file upload controller and Flex (FileReference class) |
[eluser]log2e[/eluser]
If I extract the MIME type by Code: $data = $this->upload->data(); I get "application/octet-stream" - no matter if it is a JPG, GIF or PNG file. I followed your advice and added this MIME type to the three image formats in "/config/mimes.php", and now it works! Btw, I also tested the file upload with the upload class from verot.net. This script also reports "application/octet-stream" as the MIME type. So I guess it's not a PHP or CI issue. But who is the culprit here? The FileReference class, the Flash Player, or the browser? Or is it a server-side setting? Thanks for your help! |
Messages In This Thread |
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 07:06 AM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 11:07 AM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 12:00 PM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 12:05 PM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 12:38 PM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 12:51 PM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-04-2008, 02:59 AM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-04-2008, 03:10 AM
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 09-25-2008, 01:39 PM
|