[已解决]au3修改密码 判断两种情况 如何写?
本帖最后由 mshuking 于 2014-12-13 12:15 编辑$admin = InputBox("修改密码", "请输入新密码:", "", "*",200,120,-1,-1)
IniWrite("pwd.dat","pwd","password",$admin)
If $admin = 0 Then MsgBox(16, '提示', '密码不能为空')
If $admin = $input Then MsgBox(64, '提示', '密码修改成功 ')修改密码 两种情况
判断
输入密码修改成功
没有输入密码 不能为空
谢谢二楼 已解决Local $admin = ''
Do
$admin = InputBox("修改密码", "请输入新密码:", "", "*", 250, 150)
;If @error Then Exit
If $admin == '' Then MsgBox(16, '提示', '密码不能为空')
Until $admin <> ''
IniWrite("pwd.dat", "pwd", "password", $admin)
MsgBox(64, '提示', '密码修改成功 ') 回复 1# mshuking Local $sPWD = ''
Do
$sPWD = InputBox("修改密码", "请输入新密码:", "", "*8", 250, 150)
;If @error Then Exit
If $sPWD == '' Then MsgBox(16, '提示', '密码不能为空')
Until $sPWD <> ''
IniWrite("pwd.dat", "pwd", "password", $sPWD)
MsgBox(64, '提示', '密码修改成功 ') 回复 2# user3000
密码如何加密呢?加密脚本如何写? 回复 3# mshuking
建议你发帖提问前,可以先就相关问题的关键字搜索下论坛.估计很快就得到答案啦.
http://61.153.183.105/search.php?searchid=187&orderby=lastpost&ascdesc=desc&searchsubmit=yes
页:
[1]