| Dennis Baldwin 2005-04-07, 5:49 pm |
| John,
You could implement a hidden frame that handles the upload behind the
scenes. So the file dialog is triggered from Flash which calls a JS method
and targets a form in the hidden frame. It's a hack but it seems to get the
job done. I implemented one in CF a few years back and I don't think it
would take much to convert to php or whatever technology you're using:
http://www.flashcfm.com/tutorial_se...?keyword=upload
I know there are all kinds of examples on-line and this version is IE
specific. I believe Yamago has a crossbrowser compatible version:
http://www.yamago.net/components/
I hope this helps.
Take care,
Dennis
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org]On Behalf Of John
> Robinson
> Sent: Monday, February 21, 2005 9:12 PM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] file upload functionality/security (was
> FCSWhiteboard)
>
>
> Simon -
>
> This all makes perfect sense, but what I don't understand is why we
> don't (can't) have something like we have in plain-ol' html... a
> file-upload ("multi-part" I think it's called?) form element? That's
> the only thing we are missing. I don't think I'd be happy with an fcs
> based solution. I'd rather not be tied to one product when there are so
> many good options available already.
>
> What would be the difference if I used an html form or an swf to submit
> a file to a php/cgi/etc script? Both are open formats and script
> kiddies can see exactly what cgi is handling the upload just by looking
> at the source for the html. The trick is that using php you have great
> control over what gets uploaded and where it goes.
>
> Just my thoughts.
>
> John
>
>
>
> On Feb 21, 2005, at 3:55 PM, Simon Lord wrote:
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|