Ninjakreborn Posted May 24, 2007 Share Posted May 24, 2007 I want to create a flash upload system (easy). I need a backend to process it (easy). Last element is I want to have "drag and drop" usability. I don't think this can be accomplished with PHP or Java Script. I know it can be easily done with java, and I am wanting to create something to do this but the server the site is on is not in java. What are my options. I have heard that you can have java ran from one server to work properly. Do I have any other options?? Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/ Share on other sites More sharing options...
Daniel0 Posted May 24, 2007 Share Posted May 24, 2007 AFAIK Flash runs client-side so it cannot do it alone. You'd still need PHP or another server-side scripting language. I might be wrong though. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261030 Share on other sites More sharing options...
Ninjakreborn Posted May 24, 2007 Author Share Posted May 24, 2007 Any scripting language is great. I can use PHP, but the only way I ever saw to get the initial drag/drop features working for desktop was with java. What is "AFAIK Flash" I did a search on it and found nothing specifically about what it is. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261051 Share on other sites More sharing options...
tomfmason Posted May 24, 2007 Share Posted May 24, 2007 I would avoid using flash if possible. You may want to look into scriptaculous and prototype. If it has to been done with flash this may help http://www.actionscript.org/resources/articles/26/1/Drag-n-Drop-and-Drop-Targets/Page1.html and http://www.flash-db.com/Tutorials/upload/ Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261054 Share on other sites More sharing options...
Ninjakreborn Posted May 24, 2007 Author Share Posted May 24, 2007 Sorry I left that part out. Drag/Drop is easy with either flash or ajax. Those are not problems. It's the desktop drag/drop. Basically dragging a file, or folder full of files into a draggable area on a site and it shows them as uploaded. Afterwards they upload the files after they are done dragging/dropping (also hopefully it'lly support copy/paste) I have seen A LOT of stuff on it but it's all on java and that server doesn't support java. Are there any other options for that. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261057 Share on other sites More sharing options...
Daniel0 Posted May 24, 2007 Share Posted May 24, 2007 "AFAIK Flash" I did a search on it and found nothing specifically about what it is. AFAIK = As far as I know http://dictionary.reference.com/browse/afaik Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261059 Share on other sites More sharing options...
Ninjakreborn Posted May 24, 2007 Author Share Posted May 24, 2007 Ah ok. Flash itself can't handle drag/drop from a desktop. However when checking with the host I think java can be used on there server. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261088 Share on other sites More sharing options...
trq Posted May 25, 2007 Share Posted May 25, 2007 (edit: I dont think) A browser itself isn't able to handle this type of functionality. You'd need to write an entire stand alone client. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261215 Share on other sites More sharing options...
448191 Posted May 25, 2007 Share Posted May 25, 2007 The intranet at work has Explorer <> IE drag and drop functionality. And I seem to recall Cpanel 11 offers something similar using a IE plugin. Don't ask me for details though. Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261529 Share on other sites More sharing options...
steviewdr Posted May 25, 2007 Share Posted May 25, 2007 My two-cents: As thorpe said, you'd have to build a drag and drop browser/java applet. Note: this java applet is client side. Java when run on the client has much more access to the local filesystem, and also can establish a connection to a php server side script. So - what you need to do is to code a java applet which will allow you to drag and drop a file on the local computer, and then upload this file to a php (or other server side) script. You do not need java on the server. I dont think it would even help. Java Applet on Client -> uploads -> server script (php etc.) -steve Link to comment https://forums.phpfreaks.com/topic/52868-file-upload-options/#findComment-261717 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.