can't upload files if extension has more than one dot.
| From: | david klein | Date: | Thu, 25 Jan 2001 16:59:44 +0000 |
| Subject: | can't upload files if extension has more than one dot. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36651@lists.php.net to get a copy of this message | ||
Hello!
I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached as following:
<FORM name="test" method="post" action="meeting_addDocs.php" enctype="multipart/form-data">
<tr align="center">
<td valign="top" colspan="2">
<input type="file" name="userfile[]" size="18">
</td>
<td valign="top" colspan="2">
<input type="file" name="userfile[]" size="18">
</td>
</tr>
</FORM>
Thank you very much in advance.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com