Drag and Drop File Upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nishanthc12
Forum Newbie
Posts: 1
Joined: Tue May 18, 2010 2:01 am

Drag and Drop File Upload

Post by nishanthc12 »

Is there any way to upload the files by drag and drop? [Using javascript/jquery and php]. I know, it is possible with HTML 5 and Google Gears... If any one have solution for this feature, please let me know...
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Drag and Drop File Upload

Post by pickle »

No.

Only HTML5 and the associated javascript calls are able to drag and drop. If you're not using HTML5, you can't do it with Javascript.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Drag and Drop File Upload

Post by Jonah Bron »

The real bummer is, it's up to the end user. Whether or not he has a compatible browser dictates the possibility or impossibility of that feature.

Wait, do any browsers support that yet?
Post Reply