登陆验证的代码贴出来看看<?php
require"../include/config.php";$md5pd=md5($psd);$result=@mysql_query("select * from yonghu where yh_nc='$_REQUEST[user]'") or die(mysql_error());
$array=@mysql_fetch_array($result);if (!$array[yh_nc]):
echo "<center><font size=2>用户名错误".$array[yh_nc]."</font></center>";
echo "<META HTTP-EQUIV=REFRESH CONTENT='1;URL=index_login.php'>";
exit;
endif;if ($md5pd!=$array[yh_pd]):
echo "<center><font size=2>密码错误</font></center>";
echo "<META HTTP-EQUIV=REFRESH CONTENT='1;URL=index_login.php'>";
exit;
endif;setcookie($cookie_name."_user",$user,time()+(3600));
setcookie($cookie_name."_pass",$md5pd,time()+(3600));$count=$array[yh_count]+1;
@mysql_query("update yonghu set yh_count='$_REQUEST[count]' where yh_nc='$_REQUEST[user]'");echo "<center><font size=2 color=red>成功登录本系统!<br>1秒后自动跳转页面……</font></center>";
echo "<META HTTP-EQUIV=REFRESH CONTENT='1;URL=kuangjia.php'>";
?>