Welcome Guest, Not a member yet? Register   Sign In
Uploadify + Upload Class
#4

[eluser]Philo01[/eluser]
[quote author="vitoco" date="1266229298"]i had the same problem, and it's not in the allowed types, but in the way that uploadify handle the MIME, almost every file( i can't say all files cause i haven't tried all of them ) get assigned the
Code:
"application/octet-stream"
MIME type, you can veify this using :
Code:
print_r( $_FILES );

so, in your config/mimes.php you must add this mime type to the filetypes that you wanna upload with uploadify, like this
Code:
'jpg'    =>    array('image/jpeg', 'image/pjpeg' , 'application/octet-stream'),

i don't know, and if anyone can clarify if this is a security flaw, please do.

Saludos[/quote]

Thanks allot! Big Grin
Works great!


Messages In This Thread
Uploadify + Upload Class - by El Forum - 02-14-2010, 10:14 AM
Uploadify + Upload Class - by El Forum - 02-14-2010, 08:31 PM
Uploadify + Upload Class - by El Forum - 02-14-2010, 10:21 PM
Uploadify + Upload Class - by El Forum - 02-15-2010, 02:11 AM
Uploadify + Upload Class - by El Forum - 02-15-2010, 02:19 AM
Uploadify + Upload Class - by El Forum - 02-15-2010, 02:27 AM
Uploadify + Upload Class - by El Forum - 02-15-2010, 02:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB