在ASP中如何实现上传视频文件的功能呢?

急用!希望大家能帮帮我.谢谢了
2024年11月28日 20:56
有1个网友回答
网友(1):

文件一upload_5xsoft.inc

文件二 upload.asp


照片上传



文件三 upfile.asp


<%
Set upload = New upload_5xsoft
f= Server.MapPath("pic")&"/"
Set file = upload.file("file1")
n = right(file.FileName,4)
s=replace(now(),":","")
s=replace(now(),"-","")
s=replace(now()," ","")
file.SaveAs f&s&n
session("image")=s&n
Response.Write "上传成功"
%>