[pmwiki-users] Way to let user upload multiple files at once?
eemeli at gmail.com
Wed Dec 12 04:04:30 CST 2007
On Dec 12, 2007 2:03 AM, Tegan Dowling <tmdowling at gmail.com> wrote:
> Wouldn't it be nice if there were a way to let users upload multiple
> files at once?
I came across this same issue earlier, and ended up implementing
multi-file upload a bit differently; take a look at
<http://www.pmwiki.org/wiki/Cookbook/MultiUpload> for the results.
With my approach, you need to put the files in a single zip archive,
upload that and check a checkbox for the files to be extracted. This
which are otherwise required.
Given that this was for a wiki with a limited pool of editors, it was
enough that only ZIP files are supported, but if there's a need it
shouldn't be too hard to accommodate gz, tar & other compression
schemes as well. These all do of course rely on the associated PHP
libraries being accessible.
More information about the pmwiki-users