Forum Moderators: open
Error as follows:
Microsoft VBScript runtime error '800a0009'
Subscript out of range: '[number: 1]'
/Pages/login.asp, line 34
Line 34 is
c_password = line_array(1)
Any idea why this might have suddenly occurred? I have tried removing the line added, but the error persists.
Thanks for any help.
Actually here is the full section:
' Separate the line into username and password
line_array = Split(line,"¦")
c_username = line_array(0)
c_password = line_array(1)
c_address = line_array(2)
And here is a sample from the file it refers to:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE>mike¦merlin¦testsite1
jopage¦jopage¦testsite2<PRE>
I feel very dumb at the moment and apologize for any inconvenience.
Thanks again.
Laura