chatmain.php3
如下:
<html>
<head>
<title>PHP+ACCESS聊天室</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset cols="*,180" frameborder="NO" framespacing="0">
<frameset rows="*,30,30" frameborder="NO" framespacing="0">
<frame name="chtcont" scrolling="AUTO" src="chtcont.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
<frameset cols="*,1" frameborder="NO" framespacing="0">
<frame name="cinput" scrolling="NO" noresize src="cinput.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
<frame name="leave" scrolling="NO" noresize src="reflv.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
</frameset>
<frame name="emotion" scrolling="NO" src="emotion.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
</frameset>
<frameset rows="154,*" frameborder="NO" framespacing="0">
<frame name="room" scrolling="NO" noresize src="room.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
<frame name="member" scrolling="NO" src="member.php3?id=<?php echo $sUserID; ?>&ps=<?php echo $sPass; ?>">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.<br>本页面使用了帧,但是您的浏览器不支持。</p>
</body>
</noframes>
</frameset>
</html>
用PHP和ACCESS写聊天室(二)
时间: 2024-12-22 16:28:28
用PHP和ACCESS写聊天室(二)的相关文章
用PHP和ACCESS写聊天室(二)_php基础
chatmain.php3 如下: <html> <head> <title>PHP+ACCESS聊天室</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <frameset cols="*,180" frameborder="NO"
用PHP和ACCESS写聊天室(七)
chtcont.php3: 代码如下: <?php $sCont=""; $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ if ($id=="1" && $ps="superldz"){
用PHP和ACCESS写聊天室(七)_php基础
chtcont.php3: 代码如下: <?php $sCont=""; $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ if ($id=="1" && $ps="superldz"){
用PHP和ACCESS写聊天室(十)
func.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){ $s
用PHP和ACCESS写聊天室(九)
enterrm.php3 代码如下: <?php $ConnID=@odbc_connect("jtfcht","admin",""); if ($ConnID){ $result=@odbc_exec($ConnID,"SELECT PassWord,LstTime,RoomID,RefRate FROM User WHERE UserID=".$id);
用PHP和ACCESS写聊天室(八)
emotion.php3: 代码如下: <html> <head> <title>表情动作</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link rel="stylesheet" href="main.css" type="text/css&
用PHP和ACCESS写聊天室(八)_php基础
emotion.php3: 代码如下: <html> <head> <title>表情动作</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link rel="stylesheet" href="main.css" type="text/css&
用PHP和ACCESS写聊天室(十)_php基础
func.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){ $s
用PHP和ACCESS写聊天室(五)
member.php3 : <?php 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","