[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 !