Õa¸oͬѧ¼ÔÀ´¸øÎÒÃÇ°a¼¶Óõģ¬ÒoΪþÎñÆ÷ûÓÐmysqlÖ§³Ö£¬¾ÍÑ¡ÔñÁËdbm
¹uÄÚ»¹Ã»ÓÐʲôdbm³ÌÐo£¬¹uÍaÒ²¼¸ºoûÓÐ
»¨ÁËÒ»¸oÍiÉÏ£¬ÔÚ¼¸ºoûÓÐÈκβο¼µÄÇe¿oÏÂдÁ˳oÀ´
ÏÖÔÚ¹«²¼³oÀ´
ÊÇÒ»¸odz£ºÃµÄdbmʹÓÃ*¶Àý
1¡¢index.php3
<?
if($login){
?>
ÉiÛÚÖÐѧ2000½i¸ßÖУ¨12£(C)°aͬѧ¼
ÐÕÃu | NickName | OICQ | ÓʼþµØÖ* | ÏeϸÐÅÏ¢ |
$info[0] | $info[1] | $info[4] | $info[2] | µa»÷²e¿´ |
ÐÞ¸Ä×ÊÁÏ||ÐÞ¸ÄÃÜÂe||µa»÷Í˳o |
Exͬѧ¼v1.0°ae±¾£ ³ÌÐoÖÆ×÷£ºy10k
»¶Ó*ÃÎÊ£ºhttp://www.best4cn.com
2¡¢¸u¸ÄÃÜÂeµÄchangepwd.php3
<?
require("common.php3");
if($submit){
$id=$login;
if($id==false)error("ÇeµÇ½ºoÔÙÐÞ¸ÄÃÜÂe");
else{
$data=dbmopen("password","w");
$pass=dbmfetch($data,$login);
if($password==$pass){
if($password2==$password1){
dbmreplace($data,$id,$password2);
header("location:index.php3");
}else error("ÄuÁ½´ÎÊaÈeµÄÃÜÂe²»Ò»Ñu°¡£¡");
}else error("¶Ô²»Æð£¬ÄuÊaÈeµÄÔÀ´µÄÃÜÂe´iÎo£¬²»ÄÜÐÞ¸ÄÃÜÂe£¡");
}
}else{
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">