PHP头条
热点:

基于mysql的论坛(7)


# sendmsg.php(做为现在的主流开发语言)
<?php(做为现在的主流开发语言)
require "func.php(做为现在的主流开发语言)";
if ($b1) {
    if (is_user_exits($fromname) and check_user_password($fromname,$password)) {
        sendmsg();
        echo "成功!<br><form method="POST"><input type="button" value=" 关闭窗口 " name="B1" onclick="window.close()"></form>";
    }
    else {
        $founderr=1;
        echo "用户名/密码错误!";
    }
}
else {
?>
<html>
<head>
<title>发送留言</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>

<body bgcolor="#eeeeee">
<form method="post" action="<?php(做为现在的主流开发语言) echo $php(做为现在的主流开发语言)_self;?>">
  <table width="98%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
    <tr align="center">  
      <td colspan="2">给 <a href="userinfo.php(做为现在的主流开发语言)?name=<?php(做为现在的主流开发语言) echo $name;?>" target="_blank"><?php(做为现在的主流开发语言) echo $name;?></a>  
        发送留言</td>
    </tr>
    <tr>  
      <td align="right" width="27%">您的用户名:</td>
      <td width="73%">  
        <input type="text" name="fromname" size="17" maxlength="16" value="<?php(做为现在的主流开发语言) echo $jl_forum[name];?>">
        * </td>
    </tr>
    <tr>  
      <td align="right" width="27%">您的密码:</td>
      <td width="73%">  
        <input type="password" name="password" size="17" maxlength="16">
        * </td>
    </tr>
    <tr>  
      <td align="right" width="27%" valign="top">内容:</td>
      <td width="73%">  
        <textarea name="cont" wrap="VIRTUAL" cols="40" rows="3"></textarea>
        <input type="hidden" name="toname" value="<?php(做为现在的主流开发语言) echo $name;?>">
        <br>
        <input type="submit" name="b1" value="发送">
        <input type="button" name="Submit" value="取消" onclick="window.close()">

9 7 3 1234 4 8 :

www.phpzy.comtrue/phprm/34505.htmlTechArticle基于mysql的论坛(7) # sendmsg.php (做为现在的主流开发语言) ?php (做为现在的主流开发语言) require "func.php (做为现在的主流开发语言) "; if (b1) if (is_user_exits(fromname) and check_user_password(from...

相关文章

    暂无相关文章

PHP之友评论

今天推荐