<FORM action="?action=upload" method="post" encType="multipart/form-data" name="form1">
<table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><div align="left">
<input type="file" name="file1" size=30 class="thbwn" id="f1" style="display:none;"><input type="hidden" name="filename"><a href="javascript:;" onclick="f1.click();">附件</a><input type="submit" />
</div></td>
</tr>
</table>
<%
</FORM>
点击“附件”获取的上传文件,但提交是空值,请问怎么回事?
让input=file显示时能看到获到的文件,但点击提交,input=file一下子空了,提交不成功!