Microsoft VBScript compilation error '800a03ea'
Syntax error
/decal/sslpdecal_inc/login.asp, line 26
Function DealerDecrypt(ByVal cString)
^
My full decrypt funticon is as
<%
Function DealerDecrypt(ByVal cString)
Dim cNewString
Dim nOffset
Dim nCharCode
Dim cNewChar
Dim i
nOffset = -1
For i = 1 To Len(cString)
nCharCode = Asc(Mid(cString, i, 1))
nCharCode = nCharCode + (nOffset)
cNewChar = Chr(nCharCode)
cNewString = cNewString & cNewChar
nOffset = nOffset - 1
If nOffset = -11 Then nOffset = -1
Next
DealerDecrypt = cNewString
End Function
%>
I had created one sample name as Getsample.asp with this function and is working well in that but when putting same function in pagename login.asp I am getting this error.
The only difference between this 2 page is Getsample.asp I have head, body tag both and in Login.asp page I have only body tag.
#include? If so, it's likely the error is in the parent page. When an#includeis added in an ASP page it's just like stitching the two scripts together, so check above and below where you add the#includeas the problem will be there. Better yet, edit the question to show the ASP page code for the parentlogin.asp. - user692942