[pmwiki-users] File manager based on php?
Robin
robin at kallisti.net.nz
Sun Mar 20 21:40:31 CST 2005
On Mon, 21 Mar 2005 12:56, Patrick R. Michaud wrote:
> Not being able to upload several files at once is a browser limitation,
> not a PmWiki one. Unless you know something that I don't...?
It is possbible. Gallery does it. It does use Javascript, but I'm not sure how
essential it is, and what it does if you don't have js enabled.
Sample bits of code:
<form action="http://www.kallisti.net.nz/gallery/save_photos.php"
name="upload_form" enctype="multipart/form-data" method="POST">
<table class="popup">
<tr>
<td colspan="2">2. Use the Browse button to find the photos on your
computer</td>
</tr>
<tr>
<td>File</td>
<td><input name="userfile[]" type="file" size="40"></td>
</tr>
<tr>
<td>Caption</td>
<td><input name="usercaption[]" type="text" size="40"><br><br></td>
</tr>
<tr>
<td>File</td>
<td><input name="userfile[]" type="file" size="40"></td>
</tr>
(....more of these)
<input type="button" value="Upload Now" onClick='parent.opener.showProgress();
document.upload_form.submit()'>
<input type="submit" value="Cancel" onclick='parent.close()'>
</form>
--
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.org>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20050321/8154b297/attachment.bin
More information about the pmwiki-users
mailing list