Re: Drag and Drop

From: Date: Fri, 08 Jun 2007 19:51:27 +0000
Subject: Re: Drag and Drop
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-28052@lists.php.net to get a copy of this message
Moore, Joshua wrote:
You can use jquery. http://interface.eyecon.ro/demos Click droppables demo
You really need to read the problem carefully before suggesting a solution. The question is regarding uploading files by dragging them on to a browser. This is not possible without an ActiveX control or Java applet, and even then you'll run into lots of security issues. -Stut
-----Original Message----- From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer Sent: Friday, June 08, 2007 10:45 AM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Drag and Drop Hi
I am trying to create a document store that will allow people to upload documents to a website by dragging and dropping them on a certain section of the webpage.
I don't see how you could do that. You're talking about a client-side effect, when both ASP/PHP run server-side. Either could be used to receive the document, but you'd most likely want something like a Java applet on the page to drop onto.
Further, I would prefer that the documents be kept directly in the mySQL database as binaries.
That's simple enough, although I prefer to save files in the file-system and store a reference in the database. I find it faster that way. Niel


« previous php.windows (#28052) next »