note 5748 modified in Uploading multiple files by ronabop
| From: | ronabop@php.net | Date: | Wed, 23 Aug 2000 10:07:07 +0000 |
| Subject: | note 5748 modified in Uploading multiple files by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2994@lists.php.net to get a copy of this message | ||
I couldn't get the array upload to work in 4, so you can kludge it:
<pre>
<input type=file name="newFile">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if ($newFile) {
Exec("cp $newFile $newLocalFile");
}
</pre>
You can do this for unlimited files...
http://www.php.net/manual/uploading-multiple-files.php