e poi mi faccio una classica insert nel DB...codice:if ByteRicevuti > 0 then Dim oUpload Set oUpload = new cUpload oUpload.AutoRename = True oUpload.Overwrite = False oUpload.SetPath "/download/" oUpload.Load() while Not oUpload.Eof salta=false If oUpload.Files("InputName")="fileAll" then oUpload.Files("DestPath")=Server.MapPath("\imgNews\")& "\" 'if oUpload.Fso.FileExists(oUpload.Files("DestPath")& "\"&oUpload.GetFileName()) then 'oUpload.Files("Cancel")=true 'salta=true 'else percorsoFile1="/imgNews/"&oUpload.GetFileName() 'end if end if 'if salta=false then oUpload.Save() 'response.Write(percorsoFile1) 'else 'response.Redirect("../admin_comunicati.asp?exist=yes") 'end if oUpload.MoveNext() Wend if percorsoFile1<>"" AND NOT ISNULL(percorsoFile1) then var_percorso=",'"&del_Apice(percorsoFile1)&"'" end if
grazie per l'aiuto![]()

Rispondi quotando