Please, Does anyone know what this means and how to solve it. This is the code I'm using
Persits.Upload.1 error '800a0009'
Index out of range.
/bodge1.asp, line 20
<%
Dim status, email, image, rs, cn, strsql, f1, newpath, cstring, UserFileName, up1, Files
cstring = "DSN=profile;"
Set up1 = Server.Createobject("Persits.Upload.1"
f1 = Server.MapPath("_private"
newpath = up1.Files(1).Path
Set cn = Server.CreateObject ("adodb.Connection"
cn.Open cstring
strSQL = "UPDATE profile SET image = '" & up1.UserFileName & "' Where email" & _
"like '" & email & "'"
cn.Execute(strSQL)
cn.Close
Set cn = Nothing
up1.SaveAs newpath
set up1 = Nothing
%>
thanks Gavin
</body>
</html>
Persits.Upload.1 error '800a0009'
Index out of range.
/bodge1.asp, line 20
<%
Dim status, email, image, rs, cn, strsql, f1, newpath, cstring, UserFileName, up1, Files
cstring = "DSN=profile;"
Set up1 = Server.Createobject("Persits.Upload.1"
f1 = Server.MapPath("_private"
newpath = up1.Files(1).Path
Set cn = Server.CreateObject ("adodb.Connection"
cn.Open cstring
strSQL = "UPDATE profile SET image = '" & up1.UserFileName & "' Where email" & _
"like '" & email & "'"
cn.Execute(strSQL)
cn.Close
Set cn = Nothing
up1.SaveAs newpath
set up1 = Nothing
%>
thanks Gavin
</body>
</html>