RE: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-20 Thread Jason Karns
 
I've used this (radlinks upload) on one of my sites and it works great. Drag
and drop, even multiple files.

Jason Karns
~~~
Web Designer  Applications Programmer
3AM Productions www.3amproductions.net
 - Things look different @3AM

-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

Here is what you are asking for I think.. it uses Java. I did have a
complication letting the applet install.. also, it's not free, but there is
a Lite version. Hope this helps  http://www.radinks.com/upload/dnd.php
 Joe

 On 11/18/05, Nate Nielsen [EMAIL PROTECTED] wrote:

 You wont be able to do the drag and drop, but you can gracefully do 
 multiple file uploads with flash (via flash 8). It also lets you know 
 the progress of the file upload itself.

 I've done a snazzy picture upload tool for a Flex (generates flash 
 applications on the fly with ActionScript and XML files only - no 
 actual flash IDE) - it allows you to select a file, hit upload, shows 
 a progress bar of the transfer (you can cancel at any time) - and when 
 done, the image is made into a thumbnail and shown on the screen. 
 -obviously, no page reloads and totally cross compatible.

 I wouldnt know where to start with regular flash as I'm a programmer, 
 so only Flex appeals to me - but I know it can be done, and isnt 
 extremely complicated. My guess is that you could have a flash guru 
 whip something out pretty fast.

 =)

 -Nate Nielsen
 [EMAIL PROTECTED]

 - Original Message -
 From: Jasper Bryant-Greene [EMAIL PROTECTED]
 To: Joe Harman [EMAIL PROTECTED]
 Cc: php-general@lists.php.net
 Sent: Friday, November 18, 2005 8:52 PM
 Subject: Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL


  Joe Harman wrote:
  Hi Chris,
  I would think that there has to be something out there like a
 Javascript
  that would accomplish that... that would be my first guess anyhow...
  there
  possibly could be something done in flash that would act as a drop 
  area for the file... let us know what you find Joe
 
  There's no way the browser is going to let JS have access to the 
  user's filesystem. I would expect ditto for Flash, although I don't use
it.
 
  Jasper
 
 
 
  On 11/18/05, Micah Stevens [EMAIL PROTECTED] wrote:
 
  No. That would be nice though eh?
 
  What I have done in the past is when a user needs to upload a 
  file, I give them a linked button that links to a ftp:// style 
  address. This ftp account points to a directory that PHP can have 
  access to.
 
  The user then drags and drops (IE only) the files on this new 
  window, which uploads the files to this directory.
 
  Once they're done, they close the window, and hit a second button
 'Click
  here
  when finished uploading' which tells php to grab all the files in 
  the upload directory and put them where they need to go.
 
  This is far from ideal, causes miserable problems when more than 
  one person is using the technique at once, and offers a host of 
  security and
 usability
  issues. Oh, and it's IE only, Firefox can't do this, and I don't 
  think opera/safari can either.
 
  However, it's much better than uploading a ton of files 
  individually using a form. I only use this for applications where 
  I can be sure that only
 one
  user
  will use it at once, and they're trusted.
 
  In a pinch it works though. I don't care so much about drag and 
  drop,
 I
  was
  just trying to solve the multi-file upload issue. I wish there was 
  a better way.
 
  If I'm stupid and there is, I'd love to hear about it.
 
  -Micah
 
  On Friday 18 November 2005 5:42 pm, Chris Payne wrote:
  HI there everyone,
 
 
 
  I have a file upload system where you select via requester the 
  file
 to
  upload, it then uploads it with PHP and stores the info in a 
  MySQL database. Is there an interface / programming method I can 
  use which
 I
  can
  DRAG a file from the desktop into an area in a form just as if I 
  had
  used a
  file requester to select a file? Learning a new programming 
  technique is no problem as long as it can be used with PHP and 
  MYSQL.
 
 
 
  Any helps / pointers would be REALLY welcome.
 
 
 
  Chris
  --
  PHP Database Mailing List (http://www.php.net/) To unsubscribe, 
  visit: http://www.php.net/unsub.php
 
 
 
 
  --
  Joe Harman
  -
  Do not go where the path may lead, go instead where there is no 
  path
 and
  leave a trail. - Ralph Waldo Emerson
 
 
  --
  PHP General Mailing List (http://www.php.net/) To unsubscribe, 
  visit: http://www.php.net/unsub.php
 




--
Joe Harman
-
Do not go where the path may lead, go instead where there is no path and
leave a trail. - Ralph Waldo Emerson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-18 Thread Joe Harman
Hi Chris,
 I would think that there has to be something out there like a Javascript
that would accomplish that... that would be my first guess anyhow... there
possibly could be something done in flash that would act as a drop area for
the file... let us know what you find
 Joe

 On 11/18/05, Micah Stevens [EMAIL PROTECTED] wrote:


 No. That would be nice though eh?

 What I have done in the past is when a user needs to upload a file, I give
 them a linked button that links to a ftp:// style address. This ftp
 account
 points to a directory that PHP can have access to.

 The user then drags and drops (IE only) the files on this new window,
 which
 uploads the files to this directory.

 Once they're done, they close the window, and hit a second button 'Click
 here
 when finished uploading' which tells php to grab all the files in the
 upload
 directory and put them where they need to go.

 This is far from ideal, causes miserable problems when more than one
 person is
 using the technique at once, and offers a host of security and usability
 issues. Oh, and it's IE only, Firefox can't do this, and I don't think
 opera/safari can either.

 However, it's much better than uploading a ton of files individually using
 a
 form. I only use this for applications where I can be sure that only one
 user
 will use it at once, and they're trusted.

 In a pinch it works though. I don't care so much about drag and drop, I
 was
 just trying to solve the multi-file upload issue. I wish there was a
 better
 way.

 If I'm stupid and there is, I'd love to hear about it.

 -Micah

 On Friday 18 November 2005 5:42 pm, Chris Payne wrote:
  HI there everyone,
 
 
 
  I have a file upload system where you select via requester the file to
  upload, it then uploads it with PHP and stores the info in a MySQL
  database. Is there an interface / programming method I can use which I
 can
  DRAG a file from the desktop into an area in a form just as if I had
 used a
  file requester to select a file? Learning a new programming technique is
  no problem as long as it can be used with PHP and MYSQL.
 
 
 
  Any helps / pointers would be REALLY welcome.
 
 
 
  Chris

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
Joe Harman
-
Do not go where the path may lead, go instead where there is no path and
leave a trail. - Ralph Waldo Emerson


Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-18 Thread Jasper Bryant-Greene

Joe Harman wrote:

Hi Chris,
 I would think that there has to be something out there like a Javascript
that would accomplish that... that would be my first guess anyhow... there
possibly could be something done in flash that would act as a drop area for
the file... let us know what you find
 Joe


There's no way the browser is going to let JS have access to the user's 
filesystem. I would expect ditto for Flash, although I don't use it.


Jasper




 On 11/18/05, Micah Stevens [EMAIL PROTECTED] wrote:


No. That would be nice though eh?

What I have done in the past is when a user needs to upload a file, I give
them a linked button that links to a ftp:// style address. This ftp
account
points to a directory that PHP can have access to.

The user then drags and drops (IE only) the files on this new window,
which
uploads the files to this directory.

Once they're done, they close the window, and hit a second button 'Click
here
when finished uploading' which tells php to grab all the files in the
upload
directory and put them where they need to go.

This is far from ideal, causes miserable problems when more than one
person is
using the technique at once, and offers a host of security and usability
issues. Oh, and it's IE only, Firefox can't do this, and I don't think
opera/safari can either.

However, it's much better than uploading a ton of files individually using
a
form. I only use this for applications where I can be sure that only one
user
will use it at once, and they're trusted.

In a pinch it works though. I don't care so much about drag and drop, I
was
just trying to solve the multi-file upload issue. I wish there was a
better
way.

If I'm stupid and there is, I'd love to hear about it.

-Micah

On Friday 18 November 2005 5:42 pm, Chris Payne wrote:

HI there everyone,



I have a file upload system where you select via requester the file to
upload, it then uploads it with PHP and stores the info in a MySQL
database. Is there an interface / programming method I can use which I

can

DRAG a file from the desktop into an area in a form just as if I had

used a

file requester to select a file? Learning a new programming technique is
no problem as long as it can be used with PHP and MYSQL.



Any helps / pointers would be REALLY welcome.



Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Joe Harman
-
Do not go where the path may lead, go instead where there is no path and
leave a trail. - Ralph Waldo Emerson



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-18 Thread Nate Nielsen
You wont be able to do the drag and drop, but you can gracefully do multiple 
file uploads with flash (via flash 8).   It also lets you know the progress 
of the file upload itself.


I've done a snazzy picture upload tool for a Flex (generates flash 
applications on the fly with ActionScript and XML files only - no actual 
flash IDE) - it allows you to select a file, hit upload, shows a progress 
bar of the transfer (you can cancel at any time) - and when done, the image 
is made into a thumbnail and shown on the screen.  -obviously, no page 
reloads and totally cross compatible.


I wouldnt know where to start with regular flash as I'm a programmer, so 
only Flex appeals to me - but I know it can be done, and isnt extremely 
complicated.  My guess is that you could have a flash guru whip something 
out pretty fast.


=)

-Nate Nielsen
[EMAIL PROTECTED]

- Original Message - 
From: Jasper Bryant-Greene [EMAIL PROTECTED]

To: Joe Harman [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, November 18, 2005 8:52 PM
Subject: Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL



Joe Harman wrote:

Hi Chris,
 I would think that there has to be something out there like a Javascript
that would accomplish that... that would be my first guess anyhow... 
there
possibly could be something done in flash that would act as a drop area 
for

the file... let us know what you find
 Joe


There's no way the browser is going to let JS have access to the user's 
filesystem. I would expect ditto for Flash, although I don't use it.


Jasper




 On 11/18/05, Micah Stevens [EMAIL PROTECTED] wrote:


No. That would be nice though eh?

What I have done in the past is when a user needs to upload a file, I 
give

them a linked button that links to a ftp:// style address. This ftp
account
points to a directory that PHP can have access to.

The user then drags and drops (IE only) the files on this new window,
which
uploads the files to this directory.

Once they're done, they close the window, and hit a second button 'Click
here
when finished uploading' which tells php to grab all the files in the
upload
directory and put them where they need to go.

This is far from ideal, causes miserable problems when more than one
person is
using the technique at once, and offers a host of security and usability
issues. Oh, and it's IE only, Firefox can't do this, and I don't think
opera/safari can either.

However, it's much better than uploading a ton of files individually 
using

a
form. I only use this for applications where I can be sure that only one
user
will use it at once, and they're trusted.

In a pinch it works though. I don't care so much about drag and drop, I
was
just trying to solve the multi-file upload issue. I wish there was a
better
way.

If I'm stupid and there is, I'd love to hear about it.

-Micah

On Friday 18 November 2005 5:42 pm, Chris Payne wrote:

HI there everyone,



I have a file upload system where you select via requester the file to
upload, it then uploads it with PHP and stores the info in a MySQL
database. Is there an interface / programming method I can use which I

can

DRAG a file from the desktop into an area in a form just as if I had

used a
file requester to select a file? Learning a new programming technique 
is

no problem as long as it can be used with PHP and MYSQL.



Any helps / pointers would be REALLY welcome.



Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Joe Harman
-
Do not go where the path may lead, go instead where there is no path and
leave a trail. - Ralph Waldo Emerson



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL

2005-11-18 Thread Joe Harman
Here is what you are asking for I think.. it uses Java. I did have a
complication letting the applet install.. also, it's not free, but there is
a Lite version. Hope this helps
 http://www.radinks.com/upload/dnd.php
 Joe

 On 11/18/05, Nate Nielsen [EMAIL PROTECTED] wrote:

 You wont be able to do the drag and drop, but you can gracefully do
 multiple
 file uploads with flash (via flash 8). It also lets you know the progress
 of the file upload itself.

 I've done a snazzy picture upload tool for a Flex (generates flash
 applications on the fly with ActionScript and XML files only - no actual
 flash IDE) - it allows you to select a file, hit upload, shows a progress
 bar of the transfer (you can cancel at any time) - and when done, the
 image
 is made into a thumbnail and shown on the screen. -obviously, no page
 reloads and totally cross compatible.

 I wouldnt know where to start with regular flash as I'm a programmer, so
 only Flex appeals to me - but I know it can be done, and isnt extremely
 complicated. My guess is that you could have a flash guru whip something
 out pretty fast.

 =)

 -Nate Nielsen
 [EMAIL PROTECTED]

 - Original Message -
 From: Jasper Bryant-Greene [EMAIL PROTECTED]
 To: Joe Harman [EMAIL PROTECTED]
 Cc: php-general@lists.php.net
 Sent: Friday, November 18, 2005 8:52 PM
 Subject: Re: [PHP] Re: [PHP-DB] Drag and Drop with PHP and MySQL


  Joe Harman wrote:
  Hi Chris,
  I would think that there has to be something out there like a
 Javascript
  that would accomplish that... that would be my first guess anyhow...
  there
  possibly could be something done in flash that would act as a drop area
  for
  the file... let us know what you find
  Joe
 
  There's no way the browser is going to let JS have access to the user's
  filesystem. I would expect ditto for Flash, although I don't use it.
 
  Jasper
 
 
 
  On 11/18/05, Micah Stevens [EMAIL PROTECTED] wrote:
 
  No. That would be nice though eh?
 
  What I have done in the past is when a user needs to upload a file, I
  give
  them a linked button that links to a ftp:// style address. This ftp
  account
  points to a directory that PHP can have access to.
 
  The user then drags and drops (IE only) the files on this new window,
  which
  uploads the files to this directory.
 
  Once they're done, they close the window, and hit a second button
 'Click
  here
  when finished uploading' which tells php to grab all the files in the
  upload
  directory and put them where they need to go.
 
  This is far from ideal, causes miserable problems when more than one
  person is
  using the technique at once, and offers a host of security and
 usability
  issues. Oh, and it's IE only, Firefox can't do this, and I don't think
  opera/safari can either.
 
  However, it's much better than uploading a ton of files individually
  using
  a
  form. I only use this for applications where I can be sure that only
 one
  user
  will use it at once, and they're trusted.
 
  In a pinch it works though. I don't care so much about drag and drop,
 I
  was
  just trying to solve the multi-file upload issue. I wish there was a
  better
  way.
 
  If I'm stupid and there is, I'd love to hear about it.
 
  -Micah
 
  On Friday 18 November 2005 5:42 pm, Chris Payne wrote:
  HI there everyone,
 
 
 
  I have a file upload system where you select via requester the file
 to
  upload, it then uploads it with PHP and stores the info in a MySQL
  database. Is there an interface / programming method I can use which
 I
  can
  DRAG a file from the desktop into an area in a form just as if I had
  used a
  file requester to select a file? Learning a new programming technique
  is
  no problem as long as it can be used with PHP and MYSQL.
 
 
 
  Any helps / pointers would be REALLY welcome.
 
 
 
  Chris
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
  --
  Joe Harman
  -
  Do not go where the path may lead, go instead where there is no path
 and
  leave a trail. - Ralph Waldo Emerson
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 




--
Joe Harman
-
Do not go where the path may lead, go instead where there is no path and
leave a trail. - Ralph Waldo Emerson