SWFUpload - doesn't seem to be saving to "upload_tmp_dir" directory |
[eluser]taewoo[/eluser]
I am using latest SWFUpload on CI 1.7.1. Recently, I changed to latest version of WAMP server. SWFUpload was working fine and dandy before but now it's giving me a problem, mainly this error (visible via SWFUpload debug console): Code: SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: Array Any thoughts on this? PS: I am able to upload fine if I use straight PHP method.
[eluser]taewoo[/eluser]
It was a MIME issue. Bleh. If anyone is wondering, SWFUpload always returns "application/octet-stream" as MIME type: SWFUpload forum thread When you call "do_upload()", make sure you call: Code: $this->upload->do_upload('Filedata') |
Welcome Guest, Not a member yet? Register Sign In |