jasper182 Posted August 3, 2007 Share Posted August 3, 2007 I'm looking for some help in making an image uploader tool in ajax. The main thing I'd like it to do is allow for multiple files to be selected and uploaded at once. Also some drag and drop abilities may be handy too. If ajax can't handle this I can look into something else. However, I'd like to stay away from using java or flash to accomplish this if possible. Thanks. Quote Link to comment Share on other sites More sharing options...
deadimp Posted August 3, 2007 Share Posted August 3, 2007 File uploads in AJAX would mean that a user would have to allow the browser (JavaScript) to read files on their machine. That opens all sorts of security holes, and if search for how to do AJAX uploads, you'll see that you'll need to make a couple of tweaks to Firefox's security to allow it to happen. The alternatives are your best choice. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 3, 2007 Share Posted August 3, 2007 File uploads in AJAX would mean that a user would have to allow the browser (JavaScript) to read files on their machine. That opens all sorts of security holes, and if search for how to do AJAX uploads, you'll see that you'll need to make a couple of tweaks to Firefox's security to allow it to happen. The alternatives are your best choice. Gmail does that for file attachments... Quote Link to comment Share on other sites More sharing options...
deadimp Posted August 3, 2007 Share Posted August 3, 2007 I'm not entirely sure that GMail just uses AJAX, but rather a combination of that and iframes. As far as actually looking into the code, they've obfuscated their javascript, so it'll be as fun as crap trying to figure out how they did it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.