<% FunctIon DownloadFIle(StrFIle) StrFIlename=StrFIle Response.Buffer=True Response.Clear Set S=Server.CreateObJect("ADODB.Stream") S.Open S.Type=1 on Error Resume Next Set Fso=Server.CreateObJect("ScrIptIng.FIleSystemObJect")
'**************************************************** '函數名:ChkPost '作 用:禁止站外提交表單 '傳回值:true站內提交,flase站外提交 '**************************************************** Public Function ChkPost() Dim
asp 顯示目錄下載所有檔案夾與檔案Sub ShowAllFile(Path) Set F1SO = CreateObject("Scripting.FileSystemObject") if not F1SO.FolderExists(path) then exit sub Set f = F1SO.GetFolder(Path) Set fc2 = f.files For Each myfile in fc2 &
<title>asp網頁木馬防止程式</title>我們能過防止shell命令來做的.<%@ Language=VBScript %><% Dim oScript Dim oScriptNet Dim oFileSys, oFile Dim szCMD, szTempFile On Error Resume Next -- create the COM objects that we will be using -- Set oScript =
function IsValidEmail(email) dim names, name, i, c IsValidEmail = true names = Split(email, "@") if UBound(names) <> 1 then IsValidEmail = false exit function end