首頁  >  文章  >  後端開發  >  access connections 用PHP和ACCESS寫聊天室十

access connections 用PHP和ACCESS寫聊天室十

WBOY
WBOY原創
2016-07-29 08:34:291046瀏覽

func.php3
程式碼如下:
function suiji($max)
{
        ();
        $y=getrandmax();
        $r=$x/$y*($max-1); }
函數StrOccurs($sStr, $sFind){
        $sTemp=$sStr;
    ;
while (true){
                if (strstr($sTemp, $sFind))
                    其他
                   );
                        $iCount++;
} }
        返回$iCount;
}
函數StrDupl($sStr, $iCnt){
        $ret="";
        $ret=""; 🎜>        for($i=1;$i              🎜>函數DelQuot($sStr){
        $s=str_replace(chr(124),"⁠",$sStr);
        $s=str_replace(chr(39),",$ ( chr(34),""",$s);
        return s;
}
function DelTag($sStr){
        $bNeed="False";
        $sOther=strtoupper($sStr);
        if ($bNeed!="True" || !strstr($sOther,"

        if ($bNeed!="True" || !strstr($sOther,"
")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"<script>        if ($bNeed!="True" || !strstr($sOther,"</script>")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"
        if ($bNeed!="True" || !strstr($sOther,"
")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"")) $bNeed="True";
        if ($bNeed!="True" || !strstr($sOther,"        if ($bNeed!="True" || !strstr($sOther,"FONT-SIZE:")) $bNeed="True";
        if ($bNeed=="True")
                return str_replace(">",place);
        其他
                返回 $sStr;
}
function AddLost($sStr){
        $ret=$sStr;
        $ret.=StrDupl(">", (StrOccurs(strtoupper($ret), "")));
        $ret.=StrDupl("", (StrOccurs(strtoupper($ret), "")) ); 🎜>        $ret.=StrDupl("", (StrOccurs(strtoupper($ret), "")) );
        $ret.=StrDupl("", (StrOccurs(strtoupper($ret), "")) );
$ret.=StrDupl("", (StrOccurs(strtoupper($ret), "")) );
        $$$ ret.=StrDupl("", (StrOccurs(strtoupper($ret), "")) );
       .=StrDupl("", (StrOccurs(strtoupper($ret), "")) );
  =StrDupl("", (StrOccurs(strtoupper($ret), "")) );
   StrDupl("", (StrOccurs(strtoupper($ret), "")) );
       ("", (StrOccurs(strtoupper($ret), "")) );
       "", (StrOccurs(strtoupper($ret), "")) );
        $ret.=StrDupl(" ", (StrOccurs(strtoupper($ret), "")) ); <br>        $ret.=StrDuplpl("", (StrOccurs(strtoupper($ret), "<samp stroccurs>")) ); <br>       KBD>", (StrOccurs(strtoupper($ret), "<kbd stroccurs>")) ); <br>        $ret.=StrDupl("", (StrOccurs(strtoupper($ret), "<var stroccurs>")) ); <br>        $ret.=StrDupl(" ", (StrOccurs(strtoupper($ret), "<dfn stroccurs>")) ); <br>        $ret.=Strpl("" " , (StrOccurs(strtoupper($ret), "<big stroccurs>")) ); <br>        $ret.=StrDupl("" , (StrOccurs(strtoupper($ret), "<sup stroccurs>")) ); <br>        $ret.=Strpl("","", ( StrOccurs(strtoupper($ret), "<sub stroccurs>")) ); <br>        $ret.=StrDupl("", ("", ( StrOccurs (strtoupper($ret), "<h1 stroccurs>")) ); <br>        $ret.=StrDupl("", (StrOccurs) ( strtoupper($ret), "<h2 stroccurs>")) ); <br>        $ret.=StrDupl("", (StrOccurs( strtoupper) ($ret), "<h3 stroccurs>")) ); <br>$ret.=StrDupl("", (StrOccurs(strtoupper($ret), "<h4 stroccurs>"))); <br>        $ ret.=StrDupl("", (StrOccurs(strtoupper($ret), "<h5 stroccurs>"))); <br>        .=StrDupl("", (StrOccurs(strtoupper($ret), "<h6 stroccurs>"))); <br>       =StrDupl("", (StrOccurs(strtoupper($ret), "<h7 stroccurs>")))); <br>        return $ret; <br>} <br>?> <br>【本文版權歸作者與奧索網共同擁有,如需轉載,請註明作者及出處】    <br> <p> 以上就介紹了access connections 用PHP和ACCESS寫聊天室十,包括了access connections方面的內容,希望對PHP教程有興趣的朋友有所幫助。 </p> <p> </p></h7> </h6> </h5> </h4> </h3> </h2> </h1></sub></sup></big></dfn></var></kbd></samp>
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn