can't upload files with more than one dot in the file name.

From: Date: Fri, 26 Jan 2001 15:04:16 +0000
Subject: can't upload files with more than one dot in the file name.
Groups: php.general 
Request: Send a blank email to php-general+get-36774@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

« previous php.general (#36774) next »