Welcome Guest, Not a member yet? Register   Sign In
Large file upload with SWFUpload jQuery Plugin
#5

[eluser]sharpe[/eluser]
I'm getting this:
Code:
SWF DEBUG: Array
SWF DEBUG: (
SWF DEBUG:     [error] => <p>The filetype you are attempting to upload is not allowed.</p>
SWF DEBUG: )

This is the config
Code:
$config['upload_path'] = './uploads/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size']    = '100';
$config['max_height']  = '768';

But the swf returns this
Code:
[uploadfile] => Array
SWF DEBUG:         (
SWF DEBUG:             [name] => buton_nou_cs.gif
SWF DEBUG:            [type] => application/octet-stream
SWF DEBUG:             [tmp_name] => /tmp/phpv5bEW7
SWF DEBUG:             [error] => 0
SWF DEBUG:             [size] => 48148
SWF DEBUG:         )

It always return [type] => application/octet-stream.

How did this work for you?


Messages In This Thread
Large file upload with SWFUpload jQuery Plugin - by El Forum - 10-27-2009, 04:47 AM
Large file upload with SWFUpload jQuery Plugin - by El Forum - 10-27-2009, 05:00 AM
Large file upload with SWFUpload jQuery Plugin - by El Forum - 10-27-2009, 05:00 AM
Large file upload with SWFUpload jQuery Plugin - by El Forum - 10-27-2009, 06:42 AM
Large file upload with SWFUpload jQuery Plugin - by El Forum - 11-26-2009, 08:16 AM
Large file upload with SWFUpload jQuery Plugin - by El Forum - 08-09-2010, 03:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB