Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function stripQuotes(strWords)
'strip out single quotes for SQL injection attempts
stripQuotes = replace(strWords, "'", "''")
stripQuotes = StripChars(stripQuotes)
end function
'***********************************
function StripChars(strIn)
dim Disallowed
dim strOut
dim i
Disallowed = array("select", "drop", ";", "--", "insert","delete", "xp_")
strOut = strIn
for i = 0 to uBound(Disallowed)
strOut = replace(strOut, Disallowed(i), "")
next
StripChars = strOut
end function
'*************************************
function CheckBad(strIn, Pattern)
dim objRE
set objRE = New RegExp
objRE.pattern = Pattern
CheckBad = objRE.Test(strIn)
end function
'*************************************