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

[eluser]Cro_Crx[/eluser]
[quote author="Philo01" date="1266243560"]
Anyway to get around this problem?[/quote]

Uplodify isn't going to send the correct MIME type in the headers so you can't rely on it being accurate. You extend the uploader class and overright the is_allowed_filetype method to check the file extension rather than the MIME type.

Uploadify also has an option to allow files based on file extension, check the documentation for the parm 'fileExt'.


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