网络编程 
首页 > 网络编程 > 浏览文章

用PHP和ACCESS写聊天室(二)

(编辑:jimmy 日期: 2024/11/18 浏览:3 次 )
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>  

【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】    
上一篇:对javascript和select部件的结合运用
下一篇:用PHP和ACCESS写聊天室(一)