INDEX.PHP 代码如下! function delquot($sStr){ $s=str_replace(chr(124),"",$sStr); $s=str_replace(chr(39),"",$s); $s=str_replace(chr(34),"",$s); return $s; } if ($cmdYes=="进 入"){ $sUserName=htmlspecialchars(trim(delquot($sUserName))); if ($sUserName=="superldz" && $sPass="superldz"){ $sUserID=1; include("chtmain.php3"); exit(); } els...
cinput.php3 如下: 输入 <meta http-equiv="Content-Type" c/html; charset=gb2312"> <body <?php function suiji($max){ srand((double)microtime()*1000000); $x=rand(); $y=getrandmax(); $r=$x/$y*($max-1); $r=round($r++); return $r; } function StrOccurs($sStr, $sFind){ $sTemp=$sStr; $iLen=strlen($sFind); $iCount=0; while (true){ if (strstr($sTemp, $sFi...
leave.php3 : $C if ($ConnID){ if (!($id=="1" && $ps="superldz")){ $result=@odbc_exec($ConnID,"SELECT UserName,PassWord,RoomID,Sex FROM User WHERE UserID=".$id); if (@odbc_fetch_into($result,0,&$rArr)){ if ($rArr[1]==$ps) if ($rArr[3]) @odbc_exec($ConnID,"INSERT INTO ChtCont (sIDFrom, sNameFrom, sIPF...
代码如下: $C if ($ConnID){ @odbc_exec($ConnID,"DELETE * FROM Room WHERE (RoomID Not IN (SELECT DISTINCT RoomID FROM User)) AND RoomID $result=@odbc_exec($ConnID,"SELECT PassWord,LstTime,RoomID,RefRate FROM User WHERE UserID=".$id); if (@odbc_fetch_into($result,0,&$rArr)){ $sRoomID=$rArr[2]; $sRefRate=(int)$rArr[3]; if ($sRefRate ...
chatmain.php3 如下: PHP+ACCESS聊天室 <meta http-equiv="Content-Type" c/html; charset=gb2312"> &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> This page uses frames, but your browser doesnt support them.本页面使用了帧,但是您的浏览器不支持。 【本文版权归作者与奥索...
cinput.php3 如下: 输入 <?php function suiji($max){ srand((double)microtime()*1000000); $x=rand(); $y=getrandmax(); $r=$x/$y*($max-1); $r=round($r++); return $r; } function StrOccurs($sStr, $sFind){ $sTemp=$sStr; $iLen=strlen($sFind); $iCount=0; while (true){ if (strstr($sTemp, $sFind)) break; else{ $sTemp = sub...
chtcont.php3: 代码如下: $sCont=""; $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ if ($id=="1" && $ps="superldz"){ $result=@odbc_exec($ConnID,"SELECT TOP 25 sTime,sCont,sNameFrom,sNameTo,SeqID,sIPFrom FROM ChtCont ORDER BY SeqID DESC"); $lMax=-1; while (@odbc_fetch_into($resu...
emotion.php3: 代码如下: 表情动作 $sEmotion="0"; $sColorID="000000"; $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ if (!($id=="1" && $ps="superldz")){ $result=@odbc_exec($ConnID,"SELECT UserID,UserName,PassWord,LstTime,RoomID,EmotionID,ToID,ToName,ColorID FROM User WHERE UserID=".$id); ...
enterrm.php3 代码如下: $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ $result=@odbc_exec($ConnID,"SELECT PassWord,LstTime,RoomID,RefRate FROM User WHERE UserID=".$id); if (@odbc_fetch_into($result,0,&$rArr)){ $sRoomID=$rArr[2]; $sRefRate=(int)$rArr[3]; if ($sRefRate ...
func.php3 代码如下: function suiji($max) { srand((double)microtime()*1000000); $x=rand(); $y=getrandmax(); $r=$x/$y*($max-1); $r=round($r++); return $r; } function StrOccurs($sStr, $sFind){ $sTemp=$sStr; $iLen=strlen($sFind); $iCount=0; while (true){ if (strstr($sTemp, $sFind)) ...
INDEX.PHP 代码如下! function delquot($sStr){ $s=str_replace(chr(124),"",$sStr); $s=str_replace(chr(39),"",$s); $s=str_replace(chr(34),"",$s); return $s; } if ($cmdYes=="进 入"){ $sUserName=htmlspecialchars(trim(delquot($sUserName))); if ($sUserName=="superldz" && $sPass="superldz"){ $sUserID=1; include("chtmain.php3"); exit(); } els...
chatmain.php3 如下: PHP+ACCESS聊天室 &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> This page uses frames, but your browser doesnt support them.本页面使用了帧,但是您的浏览器不支持。 【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】 http://www....
leave.php3 : $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ if (!($id=="1" && $ps="superldz")){ $result=@odbc_exec($ConnID,"SELECT UserName,PassWord,RoomID,Sex FROM User WHERE UserID=".$id); if (@odbc_fetch_into($result,0,&$rArr)){ if ($rArr[1]==$ps) if ($rArr[3]) @odbc_exec($ConnID,"INSE...
代码如下: $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ @odbc_exec($ConnID,"DELETE * FROM Room WHERE (RoomID Not IN (SELECT DISTINCT RoomID FROM User)) AND RoomID $result=@odbc_exec($ConnID,"SELECT PassWord,LstTime,RoomID,RefRate FROM User WHERE UserID=".$id); if (@odbc_fetch_into($result,0,&$rArr)){ $sRoomID=$rArr[2]; $sRefRate=(in...
member.php3 : function delquot($sStr){ $s=str_replace(chr(124),"",$sStr); $s=str_replace(chr(39),"",$s); $s=str_replace(chr(34),"",$s); return $s; } $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ @odbc_exec($ConnID,"UPDATE User SET RoomID=0,ToID=0,ToName='',Secret=False,FirstTime=False,LstTime=0,LastLoc=0 WHERE (NOT (UserID=1)) AND LstTime $result=...