File Manager
Back to List
| Current Directory: ~/
Editing: changePWstu.asp
Full path: C:\ict\ICT\changePWstu.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="ConnectDB.asp"--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� ICT</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> </head> <body> <% id_stu=request.form("ids") password=request.form("psw") secretpw="sonteeen" 'Response.write password&"-"&id_stu If password=secretpw Then sqlc="select * from student where id_stu='"&id_stu&"'" Set orsc=server.createobject("adodb.recordset") orsc.open sqlc,conn,1,3 If Not orsc.eof Then sqlu="update student set password_s='"&id_stu&"' Where id_stu='"&id_stu&"'" Set orsu=server.createobject("adodb.recordset") orsu.open sqlu,conn,1,3 Else Response.write "��辺������" End If Else Response.write "���ʼ�ҹ�ʹ�Թ���ç�Ш��" End If Response.write "Done [<a href=index.html>��Ѻ���˹����͡�Թ</a>]" %> </body> </html>