SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Addict Avido's Avatar
    Join Date
    Jul 2003
    Location
    Kortrijk, Belgium, Europe, the world
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mutiple upload with file manager

    Hello,

    Uploading is one thing, but is there a way to create a file manager(or reuse an existing one) where every file has a checkbox. When I check some checkboxes and then press on the 'upload' button, the selected files should be uploaded to a specified dir.

    You can compare it with an ftp program, but instead of select, drag and drop; you can select and press the upload button.

    This instead of the traditional file input box?

    tia

    David

  2. #2
    SitePoint Addict Avido's Avatar
    Join Date
    Jul 2003
    Location
    Kortrijk, Belgium, Europe, the world
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hm,

    seems not possible, right? :-)

  3. #3
    Non-Member
    Join Date
    Oct 2004
    Location
    downtown
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Something like that is way beyond PHP I'm afraid

    ... much later ...

    Just Joking

    It would be possible though have you are looking at doing this in several smaller parts?

    But I don't have the time to help just now, but I'll keep an eye on your thread and help later if I can

  4. #4
    SitePoint Addict Avido's Avatar
    Join Date
    Jul 2003
    Location
    Kortrijk, Belgium, Europe, the world
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    creating a file manager is not the problem. But, is there someone who can explain how posting a file works? What data is actually submitted, and is there a way to simulate this?

    [edit] ok, i find something about this on http://www.php.net/fsockopen. The only problem about that is what (should) happens after posting the data.
    Do i have to go manually to the 'receiving' page? Or, ....
    Last edited by Avido; Nov 14, 2004 at 04:02. Reason: find something

  5. #5
    SitePoint Addict Avido's Avatar
    Join Date
    Jul 2003
    Location
    Kortrijk, Belgium, Europe, the world
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, posting the data is not the issue anymore.

    But am I right that it's impossible to do a readdir from a local disk when the script is online? If so, are there other solutions for the uploading thing?

  6. #6
    SitePoint Zealot mixDev's Avatar
    Join Date
    Mar 2004
    Location
    B'lore
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Avido, uploading one(ore more) files is possible ONLY when you CLICK on the browse button of a file input box. You cannot dynamically set the filename value in HTML forms. If that was possible, i will simply stop browsing internet for obvious reasons.

    Hope i understod your problem and you understood mine
    HostAccord - Cheap RAID 10 Webhosting

  7. #7
    SitePoint Addict Avido's Avatar
    Join Date
    Jul 2003
    Location
    Kortrijk, Belgium, Europe, the world
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    indeed,

    i saw something like it written in Java, so I thought this also would work for PHP. But, i'm not a java man :-)

  8. #8
    SitePoint Zealot mixDev's Avatar
    Join Date
    Mar 2004
    Location
    B'lore
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    may be this one? http://jupload.biz/ i just heard about it. never tried. They say javascript can control the applet.

    All the best.
    HostAccord - Cheap RAID 10 Webhosting


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
  •