ÎÒ×Ô¼ºÐ´µÄÁÄÌìÊÒÔ´´úÂ루Î壩-ASP¼¼Êõ-3P´úÂëÍø
¡¾·±ÌåÖÐÎÄ¡¿
¡¾ÉèΪÊ×Ò³¡¿
¡¾¼ÓÈëÊղء¿
µ±Ç°Î»ÖãºASP¼¼ÊõÊ×Ò³ >> ASP»ù´¡ >> ÎÒ×Ô¼ºÐ´µÄÁÄÌìÊÒÔ´´úÂ루Î壩

ÎÒ×Ô¼ºÐ´µÄÁÄÌìÊÒÔ´´úÂ루Î壩

2006-06-15 08:00:00  ×÷Õߣº  À´Ô´£º»¥ÁªÍø  ä¯ÀÀ´ÎÊý£º0  ÎÄ×Ö´óС£º¡¾´ó¡¿¡¾ÖС¿¡¾Ð¡¡¿
¼ò½é£º****************************Óû§ÐÞ¸Ä**************************** ÄúµÄêdzƣº £¨±ØÐëÌîд£¬²»ÄÜÓпոñ£© ÄúµÄ¿ÚÁ ÄúµÄÐÂÐԱ𣺠×ÔÌî ¿¡ÄÐ ÃÀÅ® ¾«Áé Ò°ÊÞ £¨±ØÐëÌîд£© ÄúµÄпÚÁ £¨...

****************************Óû§ÐÞ¸Ä****************************

<%'updateuser.ASP%>

<%response.buffer = true%>

Óû§ÐÞ¸Ä

src=../../"images/edit.jpg" alt="register.jpg (6042 bytes)" WIDTH="367" HEIGHT="121">

ÄúµÄêdzƣº

maxlength="20">£¨±ØÐëÌîд£¬²»ÄÜÓпոñ£©

ÄúµÄ¿ÚÁ

ÄúµÄÐÂÐÔ±ð£º

£¨±ØÐëÌîд£©

ÄúµÄпÚÁ

£¨±ØÐëÌîд£©

пÚÁîÈ·ÈÏ£º

£¨±ØÐëÌîд£©

ÄúµÄÐÂÌáʾÎÊÌ⣺

ÐÂÌáʾÎÊÌâ´ð°¸£º

ÄúµÄÐÂE_mail£º

language="vbscript" onclick="input(this)">

*****************************Ð޸Ĵ¦Àí********************************

<%'updateusercl.ASP%>

<%response.buffer = true%>

Ð޸Ĵ¦Àí

<%

dim sc_name,sc_sex,sc_pass,sc_quesstion,sc_answer,sc_email,sc_ip,sc_flag,sc_oldpass,dd

sc_oldpass = request.form("oldpass")

sc_ip = request.servervariables("remote_addr")

sc_name = replace(trim(request.form("name")),"<","<")

sc_sex = replace(trim(request.form("sex")),"<","<")

sc_pass = request.form("pass")

sc_quesstion = request.form("quesstion")

sc_answer = request.form("answer")

sc_email = request.form("email")

set conn=server.createobject("adodb.connection")

conn.open "chat","chat","chat001"

sc_flag = 0

'Õ˺Ų»´æÔÚ

sql1 = "select user_password from user_info_table where user_name = '" + sc_name + "'"

set rs=conn.execute(sql1)

if rs.eof then

sc_flag = 1

else

'¿ÚÁî²»¶Ô

if trim(sc_oldpass) <> trim(rs(0)) then

sc_flag = 2

end if

end if

rs.close

if sc_flag = 0 then

sql1 = "update user_info_table set user_password='" + sc_pass + "',user_sex='" + sc_sex +"',user_email='" + sc_email +"',user_quesstion='" + sc_quesstion + "',user_answer='" + sc_answer + "' where user_name='" + sc_name + "'"

set rs1 = conn.execute(sql1)

end if

conn.close

select case sc_flag

case 0

response.redirect "updateuserok.ASP"

case 1

response.redirect "updateuserno.ASP"

case 2

response.redirect "updateuserps.ASP"

end select

%>

****************************Ð޸ijɹ¦*******************************

<%'updateuserok.ASP%>

Ð޸ijɹ¦

jxw_ok.gif (2182 bytes)

HEIGHT="145">Ð޸ijɹ¦£¡£¡ÇëµÇ¼ÁÄÌìÊÒ£¡

align="center">

onclick="window.close();">

********************************Õ˺Ų»´æÔÚ*******************************

<%'updateuserno.ASP%>

Õ˺Ų»´æÔÚ

alt="jxw_fail.gif (2499 bytes)">Õ˺Ų»´æÔÚ£¡£¡µÇ¼һ¸öºÃÂð£¿

align="center">

type="button" value="²»ºÃ" name="B2" onclick="closewindow();">

****************************¿ÚÁî²»ÕýÈ·*******************************

<%'updateuserps.ASP%>

¿ÚÁî²»ÕýÈ·

jxw_fail.gif (2499 bytes)

WIDTH="120" HEIGHT="145">ÄѵÀ¿ÚÁî²»ÕýÈ·£¿£¡

align="center">

onclick="location.href='updateuser.ASP';">

onclick="window.close();">

ÔðÈα༭£ºadmin
±¾ÎÄÒýÓõØÖ·£º http://www.3pcode.com/asp/2006/06/82695.htm
·¢±íÆÀÂÛ¡¡¼ÓÈëÊղء¡¸æËߺÃÓÑ¡¡´òÓ¡±¾Ò³¡¡¹Ø±Õ´°¿Ú¡¡·µ»Ø¶¥²¿
Ïà¹ØÎÄÕÂ

×îÐÂÎÄÕÂ

¸ü¶à

ÍÆ¼öÎÄÕÂ

¸ü¶à

ÈȵãÎÄÕÂ

¸ü¶à