randompassword.asp% Dim i, intNum, intUpper, intLower, intRand, strPartPass, genPassword genPassword = \"\" Randomize ' 用Randomize生成随机种子.For i = 1 to 7 ' 循环7次,即创建7位随机密码.intNum = Int ...……
security.asp%bLoggedIn = (len(session("UserName")) 0) if bRequireLogin then' 要求登录. if Not bLoggedIn then response.redirect "login.asp?comebackto=" _ request.servervariables("script_name") "? ...……
script language="vbs"sub send_onclick dim f set f=document.ff photo=trim(f.photo.value) if photo="" then msgbox "嘻嘻,还没照片呢!",64 ,"上传" f.photo.focus ...……
fileup.htm html head title 千花飞舞之上传单个文件 /title /head body form enctype="multipart/form-data" method="post" action="fileup.asp" 输入想要上传的文件: input type="file" name ...……
htmlscript language="VB" runat="server" Sub UploadBtn_Click(Sender as Object, E as EventArgs) UploadFile.PostedFile.SaveAs(Server.MapPath("chunfeng.jpg")) MyImage.ImageUrl = "chunfeng.jpg" MyImage.Vis ...……
newdoc.asp%@ Language=VBScript %script id=DebugDirectives runat=server language=javascript//Set these to true to enable debugging or tracing@set @debug=false@set @trace=false/scripthtmlheadMETA na ...……
如何对一个文件夹进行创建和删除?% set fs=createobject("scripting.filesystemobject") %% MyFolder=server.mappath("/chunfeng/happy/") %%If NOT fs.folderexists(MyFolder) then fs.createfolder(MyFolder)End ...……
%Option ExplicitSub CheckXlDriver() On Error Resume Next Dim vConnString Dim oConn, oErr vConnString = "DRIVER={Microsoft Excel Driver (*.xls)};DBQ=NUL:" ' 连接NUL. Set oConn = CreateObjec ...……
%@ Language=VBScript %% function bianli(path) set fso=server.CreateObject("scripting.filesystemobject") on error resume next set objFolder=fso.GetFolder(path) set objSubFolders=objFolde ...……
creatdoc.asp!DOCTYPE html PUBLIC "-//W3C/Dtd html 3.2 Final//EN"headtitle星河影动之创建Word文件/titleMETA HTTP-EQUIV="Refresh" CONTENT="30;URL='orderForm.asp'"/head% dotLocation="'servernamedirectory ...……