Drag and Drop
am 08.06.2007 16:51:09 von Daniel Kaliel
------_=_NextPart_001_01C7A9DC.748CB316
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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.
=20
I have been told you can do this with ASP, can it be done with PHP?
=20
---------------------------------------------------------
Daniel Kaliel, MCP
Network Administrator
==================== =====3D=
===========3D
No animals were hurt during this transmission,
however, some electrons were terribly
inconvenienced.
=20
------_=_NextPart_001_01C7A9DC.748CB316--
Re: Drag and Drop
am 08.06.2007 19:45:16 von Niel Archer
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
RE: Drag and Drop
am 08.06.2007 21:48:45 von Joshua.Moore
You can use jquery.
http://interface.eyecon.ro/demos
Click droppables demo
-----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
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Drag and Drop
am 08.06.2007 21:51:27 von Stut
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
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Drag and Drop
am 11.06.2007 08:21:00 von Gustav Wiberg
Hi there!
The problem I think could be solved with DHTML (Javascript and layers) also=
?
Best regards
/Gustav Wiberg
=20
-----Original Message-----
From: Stut [mailto:stuttle@gmail.com]=20
Sent: Friday, June 08, 2007 9:51 PM
To: Moore, Joshua
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Drag and Drop
Moore, Joshua wrote:
> You can use jquery.
>=20
> http://interface.eyecon.ro/demos
>=20
> Click droppables demo
You really need to read the problem carefully before suggesting a=20
solution. The question is regarding uploading files by dragging them on=20
to a browser.
This is not possible without an ActiveX control or Java applet, and even=20
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
>=20
> Hi
>=20
>> 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.
>=20
> 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.
>=20
>> Further, I would prefer that the documents be kept directly in the
>> mySQL database as binaries.
>=20
> 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.
>=20
>=20
>=20
> Niel
>=20
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Drag and Drop
am 11.06.2007 09:31:09 von php
JavaScript (Firefox only):
http://straxus.javadevelopersjournal.com/creating_a_mozillaf irefox_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.
>
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Drag and Drop
am 11.06.2007 10:44:22 von Darren Whitlen
Daniel Kaliel wrote:
> 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?
>
>
Saving binary files in a database is hell. It really is. The speed is a
lot slower, keeping the future in mind it will also be easier and moe
maintainable if they were actually saved as files rather than in the
database itself.
Upload the file. Save the file name, id number (auto_increment works
well here) to the database. Move the uploaded file to your files folder.
This dramatically decreases the size of your database, and a huge speed
increase will take effect, no matter what size the files are.
Darren
>
> ---------------------------------------------------------
>
> Daniel Kaliel, MCP
>
> Network Administrator
>
> ====================================
>
> No animals were hurt during this transmission,
>
> however, some electrons were terribly
>
> inconvenienced.
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Drag and Drop
am 11.06.2007 19:13:59 von zerof
Daniel Kaliel escreveu:
> 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 think Dreamweaver ( from Adobe ) has a "Timeline" animator, that has
the capabilities you are looking for. (Javascript)
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
----------------------------------------------------------
Você deve, sempre, consultar uma segunda opinião!
----------------------------------------------------------
Deixe todos saberem se esta informação foi-lhe útil.
----------------------------------------------------------
You must hear, always, one second opinion! In all cases.
----------------------------------------------------------
Let the people know if this info was useful for you!
----------------------------------------------------------
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php