Welcome Guest, Not a member yet? Register   Sign In
upload allowed_types issue
#5

[eluser]Mirage[/eluser]
The checking of the mime-type is unfortunately inconsistent and not very reliable. I've had a similar issue with .pdf files which apparently get assigned different mime-types based on where they're coming from. Checking extension isn't foolproof of course, but adding this to your code or an extended upload class is definitely an improvement.

Cheers!


Messages In This Thread
upload allowed_types issue - by El Forum - 04-19-2008, 08:19 AM
upload allowed_types issue - by El Forum - 04-19-2008, 08:27 AM
upload allowed_types issue - by El Forum - 04-19-2008, 08:31 AM
upload allowed_types issue - by El Forum - 05-05-2008, 12:24 PM
upload allowed_types issue - by El Forum - 05-06-2008, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB