HTTP/Upload.php can't handle multiple files!!
| From: | Louie Miranda | Date: | Wed, 08 Sep 2004 06:34:02 +0000 |
| Subject: | HTTP/Upload.php can't handle multiple files!! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14446@lists.php.net to get a copy of this message | ||
i have tried HTTP/Upload but it can't handle multiple files!
my form:
<form action="<?php echo $_SERVER['PHP_SELF'];?>?submit=1"
method="post" enctype="multipart/form-data">
Send these files:<br>
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
<input name="userfile" type="file"> <-<br>
<input name="otherfile" type="file"><br>
<input name="otherfile[1]" type="file"><br>
<input type="submit" value="Send files">
</form>
i tried to edit this..
$upload = new http_upload('es');
$file = $upload->getFiles('userfile');
$file = $upload->getFiles('otherfile');
but, it wont work.
--
Louie Miranda
http://www.axishift.com