打印本文 打印本文  关闭窗口 关闭窗口
用PHP和ACCESS写聊天室(七)
作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 14:36:22
;                                    $sLine.="<br>n";
                                                                if ($rArr[6]>$lMax) $lMax=$rArr[6];
                                                                $sCont=$sLine.$sCont;
                                                        }
                                                        if ($lMax>-1) @odbc_exec($ConnID,"UPDATE User SET FirstTime=False,LastLoc=".($lMax+1)." WHERE UserID=".$id);
                                                }
                                        }
                                        else $sCont="<p align='center'>你已经超时了</p><p align='center'>按<a href='.' target='_top'>这里</a>重新登录</p></body></html>";
                                }
                                else $sCont="<p align='center'>口令不对!</p><p align='center'>按<a href='.' target='_top'>这里</a>重新登录</p></body></html>";
                        }
                        else $sCont="<p align='center'>该用户不存在!</p><p align='center'>按<a href='.' target='_top'>这里</a>重新登录</p></body></html>";
                }
                @odbc_close($ConnID);
        }
        else $sCont="<p align='center'>系统故障,无法登录!</p></body></html>";
?>
<html>
<head>
<title>聊天内容</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--link rel="stylesheet" href="main.css" type="text/css"-->
</head>
<body>
<?php echo $sCont; ?>  

【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】    

上一页  [1] [2] 



打印本文 打印本文  关闭窗口 关闭窗口