PDA

View Full Version : uploading an image to a database


koogakid
04-09-2003, 04:45 PM
Hi all,

Is it possible to upload a copy of an image from a user's computer to a CMS database using Flash remoting?

This is easy in Cold Fusion and I'm wondering whether it's possible to do this using remoting via a Flash interface.....

Thanks,

koogakid

freddycodes
04-09-2003, 05:11 PM
This issue revolves around Flash MX's new security model which aside from using third party tools doesn't natively allow you to access files on user's computer. So in short no.

adi_ady_ade
04-25-2003, 09:00 PM
I'd also add that you don't normally put images in a database. It's probably best to put them on the file system and put the path to them in the DB. And of course any info about them you care to query.

It's not that you can't put them in a DB, it's just that it could get pretty messy passing large amounts of binary data via SQL. The file system is better suited to file storage.

Ade