Welcome Guest, Not a member yet? Register   Sign In
Problems with CI file upload controller and Flex (FileReference class)
#3

[eluser]log2e[/eluser]
Good idea! Yes, I was able to get CI's error message back into my Flex application. It says: "The filetype you are attempting to upload is not allowed."

Now this is really strange because I tested the HMTL upload form and the Flex upload with the same set of JPG images. If I upload the images through CI's HTML upload form it works. As you can see from the controller script above the $config['allowed_types'] variable is set to 'gif|jpg|png'. Obviously the Flash Player reports a different file type to CI so that the MIME type of the uploaded file is not recognized properly.

Is there anything I can do about this?


Messages In This Thread
Problems with CI file upload controller and Flex (FileReference class) - by El Forum - 05-03-2008, 12:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB