SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Non-Member
    Join Date
    Jun 2007
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drag 'N' Drop Upload

    Hi Folks,

    How do I create a Upload Page in PHP, that allows user to Drag 'N' Drop files onto a area of the screen?

  2. #2
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'd have to use Javascript for that most likely.

  3. #3
    Non-Member
    Join Date
    Jun 2007
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Aureole,

    Javascript Doesn't Support File Upload, Does It?
    Last edited by Salchester; Jul 21, 2007 at 16:36.

  4. #4
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know, I'm new to coding...sorry...I've seen a drag 'n' drop thing before and I'm sure there was some Javascript involved.

  5. #5
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Drag n drop definitely requires Javascript.
    The uploading part can be done with PHP, but I don't think you can find a way for users to actually drag a file from their file system onto your website and upload it, if that's what you mean (security restrictions and all).

  6. #6
    SitePoint Zealot Zafar Ahmed's Avatar
    Join Date
    Apr 2004
    Location
    Karachi
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can anyone post the code here? and is this code used by the uploading websites?
    Xenon Web Solutions -Web Development Company Based In Pakistan
    -As I walk through life....


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •