我想在下面代码打问号的地方加一个上传mp3功能
<form method="POST" name="myform" action"adminsave.asp?action=add" enctype="multipart/form-data">
<td width="76" align="right" height="30" nowrap><b><font>Download1</font>:</b></td>
<td width="450" height="30" colspan="3" >
???
<input>
???
<input type="submit" value="Submit" name="cmdok" class="buttonface" >
我有upload_5xsoft.inc,也有upload.asp但我不知道上传的文件会出现在哪里,我想让它出现在固定文件夹里,不知道怎么设置
upload.asp
<html><title>example</title>
<body>
<!--#include FILE="upload_5xsoft.inc"-->
<%
set upload=new upload_5xsoft
set file=upload.file("file1")
if file.fileSize>0 then
file.saveAs Server.mappath("temp.mp3")
response.write "<br>上传文件:"&file.FileName&" => temp.mp3 OK!"
response.write "<br>文件大小:"&file.FileSize
set file=nothing
end if
set upload=nothing
%></body>
</html>
大神,能看下问题补充么~就是我是下载的模板,,他已经有个表单了,,但我想把原来的改成上传功能,,所以就不知道怎么做了,,求大神赐招。。