最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

防SQL注入的VBSrcipt代碼

 更新時(shí)間:2007年03月09日 00:00:00   作者:  
<script language="vbscript"> 
        function checkstr(strname) 
            strn=trim(strname.value) 
            str=trim(strname.value) 
            for i=1 to len(str) 
                strcheck=asc(left(str,1)) 
                if not ((strcheck=<122 and strcheck>=97) or (strcheck<=90 and strcheck>=65) or (strcheck<=57 and strcheck>=48)) then 
                    msgbox("請(qǐng)勿使用除英文字母及數(shù)字以外的字符!") 
                    strname.value = left(strn,i-1) 
                    strname.focus 
                    exit for 
                end if 
                str=Right(str,len(str)-1) 
            next  
        end function 
        function checknum() 
            checknum=true 
            if not document.all.txtMailSize.value="" then 
                if not IsNumeric(document.all.txtMailSize.value) then 
                    msgbox("請(qǐng)勿使用數(shù)字以外的字符!") 
                    document.all.txtMailSize.value="" 
                    document.all.txtMailSize.focus 
                    checknum=false 
                else if document.all.txtMailSize.value>5 or document.all.txtMailSize.value<0 then 
                        msgbox("請(qǐng)?zhí)顚?-0之間的數(shù)字!") 
                        document.all.txtMailSize.value="" 
                        document.all.txtMailSize.focus 
                        checknum=false 
                    end if 
                end if 
            end if 
        end function 

        function checkupdate() 
            checkupdate=true 
            if document.all.txtU_name.value="" or document.all.txtMailSize.value=""  then 
                msgbox("您填寫的信息不完全!")         
                checkupdate=false 
            end if 
        end function 
        function compare() 
            compare=true 
            if not document.all.txtRePsw.value =document.all.txtPsw.value then 
                msgbox("兩次密碼輸入不一致!") 
                document.all.txtRePsw.focus 
                compare=false 
            end if 
        end function

相關(guān)文章

最新評(píng)論

壤塘县| 滁州市| 庐江县| 壶关县| 玛曲县| 那坡县| 南川市| 沧源| 视频| 舞钢市| 江油市| 大余县| 巴林左旗| 沿河| 沧源| 玉龙| 阿坝| 呼伦贝尔市| 郴州市| 怀安县| 平度市| 尼木县| 连南| 鄂托克前旗| 腾冲县| 浦江县| 彭水| 余干县| 福鼎市| 德安县| 临潭县| 宝鸡市| 普安县| 盱眙县| 新乐市| 扶余县| 涪陵区| 兰考县| 乌什县| 伊川县| 荣昌县|