SWFUpload

Login or register to post comments
1 reply [Last post]
agsel's picture
Offline
Joined: 04/02/2008

Greetings

Has anyone integrated SWFUpload with QCubed?

You can read more about SWFUpload from here: http://swfupload.org/
Basically it allows you to upload multiple files from computer.
I has nice examples and they run without a problem. Just wondering, whether someone has played around with this module in QCubed?

Thanks!

agsel's picture
Offline
Joined: 04/02/2008

I kind of got it to work. The SWFUpload comes with upload.php. The flash sends files to that php-file. So, basically you receive the files with upload.php. You can send additional parameters to it (for example object_id where you store files). Then you can add files into database/server. If you submit your form, you can validate files by checking database. Though it would be nice to have some MyForm::upload() method, which deals with files (instead of separate upload.php). Then you can add ajax method to uploader ($uploader->addAction("upload", "MyForm::upload()"). Would be more elegant.

Any ideas?