note 6934 deleted from Uploading multiple files by ronabop
| From: | ronabop@php.net | Date: | Sat, 09 Sep 2000 03:19:41 +0000 |
| Subject: | note 6934 deleted from Uploading multiple files by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4597@lists.php.net to get a copy of this message | ||
ok, it handles uploads with excepions... it has a problem with certaing file types such as .sea (Mac
self-extracting archives) and .bin (MacBinary files). If anyone has a solution, please let us
know.<BR><BR>
the upload array, as noted above, does contain the filename, type, and temp filename for each as
upload[0], upload[1], upload[2], ... for each file, but if the file type does not come across for
whatever reason, it will not show up in the array this knocking the name and temp file out of place.
Example for 2 files:<BR><BR>
upload[]= file.txt, plain/text, /tmp/123<BR>
upload[]= file.sea, application/x-stuffit, /tmp/234<BR>
<BR>
upload[0] = file.txt<BR>
upload[1] = plain/text<BR>
upload[2] = /tmp/123<BR>
upload[3] = file.sea<BR>
upload[4] = /tmp/123<BR>
upload[5] = <BR><BR>
Any solutions to getting file types to be recognized?
-Wes