不用墨水的打印机:ASP:利用文件上传组件时如何上传附加信息的问题

来源:百度文库 编辑:高校问答 时间:2024/04/30 01:48:33
在制作个人ASP网站的过程下载了一个文件上传组件:"爱雪儿文件上传组件",我做了一些改动希望在上传文件的同时可以再上传一些有关文件的附加信息(也就是在提交表单中加上图片的"标题"和"说明")
可是在上传的程序中我用request.form("strTitle")无法提取这个上传的变量!
实在不懂的什么原因!望有高手指教,非常感谢!
提交表单的代码如下:
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td><fieldset><legend>文件上传</legend>
<form action="iXs_UpLoadPost.asp?bgColor=&Action=1&Wid=0" method="post" enctype="multipart/form-data" id="UpLoad_Form" onsubmit="return apply()">
<table align="center" border="0" cellpadding="2" cellspacing="0">
<tr><td align="left"><input name="upcount" type="text" id="upcount" value="1" size="4" maxlength="3" />
<input name="Files" type="hidden" id="Files" value="" /></td>
<td>input type="submit" id="submit" name="submit" value=" 上 传 " onclick="return CheckUploadForm();" /></td>
</tr>
<tr>
<td colspan="2" align="left" id="upid">文件01:<input name="strFile1" type="file" id="strFile1" style="width:200px;" onchange="return CheckUploadForm();" /><br>标题01:<input name="strTitle" type="text" id="strTitle" style="width:202px;"maxlength="30"/><br>td>
</tr>
</table>
</form>
</fieldset></td>
</tr>
</table>

request.form("strTitle")

不应该是form吧