" & VbCrLf & _
"
" & VbCrLf & _
" VBScript Version: " & ScriptEngineMajorVersion & VbCrLf & _
"
" & VbCrLf & _
"
" & VbCrLf & _
" Software Version: " & CC_FB_Version & "
" & VbCrLf & _
" Software Last Updated: " & CC_FB_LastUpdated & VbCrLf & _
"
" & VbCrLf & _
"
" & VbCrLf & _
" Script Version: " & CC_FB_ScriptVersion & "
" & VbCrLf & _
" Script Last Updated: " & CC_FB_ScriptLastUpdated & VbCrLf & _
"
" & VbCrLf & _
"
" & VbCrLf & _
" CDOSYS: " & cdosysMsg & "
" & VbCrLf & _
" ADODB: " & adodbMsg & VbCrLf & _
"
" & VbCrLf & _
"
" & VbCrLf & _
"" & VbCrLf & _
"" & VbCrLf & _
"")
Response.End
End Sub
'
' Decodes html entities in text
'
' @param text the text to decode
' @return html decoded text
'
Function HTMLDecode(text)
On Error Resume Next
Dim i
text = Replace(text, """, """")
text = Replace(text, "<" , "<")
text = Replace(text, ">" , ">")
text = Replace(text, "&" , "&")
text = Replace(text, " ", " ")
For i = 1 To 255
text = Replace(text, "" & i & ";", Chr(i))
Next
HTMLDecode = text
End Function
'
' Converts a C-style string to binary
'
' @param cstring the string to be converted
' @return binary text
'
Function StringToBinary(cstring)
On Error Resume Next
Dim i
For i=1 To Len(cstring)
StringToBinary = StringToBinary & ChrB(Asc(Mid(cstring,i,1)))
Next
End Function
'
' Converts a binary string to C-style
'
' @param binary string to be converted
' @return C-style text
'
Function BinaryToString(binaryString)
On Error Resume Next
Dim i
For i=1 To LenB(binaryString)
BinaryToString = BinaryToString & Chr(AscB(MidB(binaryString,i,1)))
Next
End Function
%>