Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
En_ManagePwd.asp
Package: qiyeguanli.rar [view]
Upload User: ahxunteng
Upload Date: 2022-05-16
Package Size: 1606k
Code Size: 7k
Category:
WEB(ASP,PHP,...)
Development Platform:
VBScript
- <%@ LANGUAGE=VBScript CodePage=936%>
- <%option explicit%>
- <%Response.Buffer=True%>
- <!--#include file="Include/En_System.asp"-->
- <!--#include file="Include/En_StrLeft.asp"-->
- <!--#include file="../Inc/md5.asp"-->
- <%
- dim Action,UserName
- dim FoundErr,ErrMsg
- dim rsUser,sqlUser
- Action=trim(request("Action"))
- UserName=trim(request("UserName"))
- if Action="" and session("UserName")="" then
- response.redirect "En_Server.asp"
- end if
- if Action="Modify" and UserName<>"" then
- Set rsUser=Server.CreateObject("Adodb.RecordSet")
- sqlUser="select * from [User] where UserName='" & UserName & "'"
- rsUser.Open sqlUser,conn,1,3
- if rsUser.bof and rsUser.eof then
- FoundErr=True
- ErrMsg=ErrMsg & "<br><li>Can find designated users !</li>"
- else
- dim OldPassword,Password,PwdConfirm
- OldPassword=trim(request("OldPassword"))
- Password=trim(request("Password"))
- PwdConfirm=trim(request("PwdConfirm"))
- if OldPassword="" then
- FoundErr=True
- ErrMsg=ErrMsg & "<br><li>Please input the old password !</li>"
- else
- if Instr(OldPassword,"=")>0 or Instr(OldPassword,"%")>0 or Instr(OldPassword,chr(32))>0 or Instr(OldPassword,"?")>0 or Instr(OldPassword,"&")>0 or Instr(OldPassword,";")>0 or Instr(OldPassword,",")>0 or Instr(OldPassword,"'")>0 or Instr(OldPassword,",")>0 or Instr(OldPassword,chr(34))>0 or Instr(OldPassword,chr(9))>0 or Instr(OldPassword,"