emotion.php(做为现在的主流开发语言)3: 代码如下: 表情动作 <?php(做为现在的主流开发语言) $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 ...
enterrm.php(做为现在的主流开发语言)3 代码如下:<?php(做为现在的主流开发语言) $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=(i...
func.php(做为现在的主流开发语言)3 代码如下: (做为现在的主流开发语言) 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)...
chtcont.php(做为现在的主流开发语言)3: 代码如下: (做为现在的主流开发语言) 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; ...
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,"INSERT INTO ChtCont (sIDFrom, sNameFrom, sIPFrom, sIDTo, sNameTo, sTime, sCont, bSecret, RoomID...
chatmain.php3 如下: PHP+ACCESS聊天室 <frame name="chtcont" scrolling="AUTO" src=/DownloadFilesa2004-11-13"chtcont.php3$id=($php echo $sUserID; ?>&ps="> <frame name="cinput" scrolling="NO" noresize src=/DownloadFilesa2004-11-13"cinput.php3$id=($php echo $sUserID; ?>&ps="> <frame name="leave" scrolling="NO" noresize src=/DownloadFilesa2004-11-13"reflv.php3$id=($php echo $sUserID; ...
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(); } else{ $ConnID=@odbc_connect("jtfcht","admin",""); if ($Co...
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,"INSERT INTO ChtCont (sIDFrom, sNameFrom, sipFrom, sIDTo, sNameTo, sTime, sCont, bSecret, RoomID) VALUES...
chatmain.php3 如下: PHP+access聊天室 &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> &ps=" /> This page uses frames, but your browser doesnt support them.本页面使用了帧,但是您的浏览器不支持。 【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】
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); if (@odbc_fetch_into($result,0,&$rArr)){ $sUserName=$rArr[1]; $sRoomID=$rArr[4]; $sEmotion=$rArr[5];...
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($result,0,&$rArr)){ $sLine=$rArr[0]." ".$rArr[1]; $sLine=str_replace("%m",$rArr[2]."[".$rArr[5]."]",$sLine); $sLine...
Access 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(); } else{ $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){...
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...
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.本页面使用了帧,但是您的浏览器不支持。 【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】