Flash-based Fileupload for Webapps

Today I was investigating in an application I maintain. In this application there are several places where images can be uploaded.

Now I wanted to see if we could simplify this upload process a bit using e.g. Flash. Because we now live in the Web 2.0 one can expect Javascript and Flash for sophisticated tasks in a webapplication.

I have found SWFUpload – of course it is beta…
This looks exactly what I am looking for. You can insert this easily in different pages of your app and it calls a serverside script (e.g. PHP), and also supports a callback method (javascript) to display Upload-success messages. I would use this callback to insert the FileID of the uploaded file into a hidden field.

We’ll see if this tool is usefull, but it looks promising.

UPDATE:
First problem just came to my mind: What about security and authentication? As this is a userbased application, we need to know on the serverside in the PHP script who the file belongs to and if the user is allowed to upload and so on…
I have found an article which provides a solution in> Getting the _session_id from SWFUpload.

Dieser Eintrag wurde veröffentlicht in Allgemein, Software-Development. Bookmarken: Permanent-Link. Kommentieren oder ein Trackback hinterlassen: Trackback-URL.
  • Werbung / Ads

Ihr Kommentar

Ihre E-Mail wird niemals veröffentlicht oder verteilt. Benötigte Felder sind mit * markiert

*
*

Du kannst diese HTML Tags und Attribute verwenden: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">