当前位置:Linux教程 - Linux - 用PHP和ACCESS写聊天室(二)

用PHP和ACCESS写聊天室(二)



         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>
    发布人:Crystal 来自:奥索