php-windows Digest 11 Jun 2007 07:33:35 -0000 Issue 3253
Topics (messages 28054 through 28055):
Re: Drag and Drop
28054 by: Gustav Wiberg
28055 by: Mikael Grön
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi there!
The problem I think could be solved with DHTML (Javascript and layers) also ?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 9:51 PM
To: Moore, Joshua
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Drag and Drop
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: [EMAIL PROTECTED]
> 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
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
JavaScript (Firefox only):
http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htm
Java: http://radinks.com/upload/plus/applet.php
Google is My friend, at least.
I think the one to go for is Java since it should work in all browsers.
Users would have to approve the applet before use, but that's no big
deal, right?
Mike
Daniel Kaliel skrev:
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. Further, I would prefer that the documents be
kept directly in the mySQL database as binaries.
I have been told you can do this with ASP, can it be done with PHP?
---------------------------------------------------------
Daniel Kaliel, MCP
Network Administrator
====================================
No animals were hurt during this transmission,
however, some electrons were terribly
inconvenienced.
--- End Message ---