Welcome Guest, Not a member yet? Register   Sign In
Using SWFUpload + Sessions + upload class, how I did it.
#41

[eluser]dimethroxy[/eluser]
[quote author="~Chris~" date="1240868153"]302 error? It has been a while, but I think that is an error you get if you did not set up the mime types.

Code:
'jpeg'    =>    array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
'jpg'    =>    array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
'jpe'    =>    array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
[/quote]

This will make the upload class accept data from the flash post. But it introduce a huge security hole: this will accept .php file to be uploaded !


Messages In This Thread
Using SWFUpload + Sessions + upload class, how I did it. - by El Forum - 09-10-2009, 08:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB