Clikko su carica immagine che mi apre un PopUp. Il codice del PopUp è questo:
L'upload va a buon fine, ma vorrei fare altre cose che non riesco proprio a fare:codice:<% if Request.QueryString("upload") = "1" then Dim oUpload Set oUpload = new cUpload with oUpload .EnabledAspUpload = False .EnabledImageSize = True .EnabledLog = False .AutoRename = True .Overwrite = False .SetPath "img_news" .Load .UploadOnly "Images" While Not .Eof if .Files("Height")>=200 or .Files("Width")>=200 then Response.Write ("Le dimensioni dell'immagine " & .GetFileName() & " non sono corrette (" & .Files("Height") & "x" & .Files("Width") & "): File non caricato ") else .Save filename = .GetFileName() End if .MoveNext Wend End with Set oUpload = Nothing End if %> <html> <head> <title>Upload</title> <link rel="stylesheet" href="camelot.css" type="text/css"> </head> <body> <FORM METHOD="Post" enctype="multipart/form-data" ACTION="?upload=1"> File : <INPUT TYPE="file" NAME="Campo1" value="<%=filename%>"> <INPUT TYPE="submit" NAME="Enter" value="Upload"> </FORM> </body> </html>
1) Se l'upload è andato a buon fine, il nome del file deve essere "pippo".
2) Se l'upload è andato a buon fine, il campo1 deve avere come value il nom del file.
Chi mi aiuta per favore ? ?![]()

Rispondi quotando