找回密码
 加入
搜索
查看: 1960|回复: 2

如何获取这种验证码的图片呢?

[复制链接]
发表于 2010-6-2 20:12:04 | 显示全部楼层 |阅读模式
本帖最后由 yejier1983 于 2010-6-3 10:32 编辑

<script type="text/javascript">
/*<![CDATA[*/
document.write('<img id="MzImgExpPwd" alt="" src="ShowExPwd.aspx?temp=' + (new Date().getTime().toString(36)) + '" />');
/*]]>*/
</script>
懂的大哥帮帮忙
 楼主| 发表于 2010-6-3 10:31:50 | 显示全部楼层
调用js处理解决
Func RegCreatePng()
        Local $code
        $code &= 'function regcreatepng()' & @CRLF
        $code &= '{' & @CRLF
        $code &= 'var now = new Date()' & @CRLF
        $code &= 'var nvalue = Math.random()+"_"+now.getTime()' & @CRLF
        $code &= 'return nvalue' & @CRLF
        $code &= '}' & @CRLF
        $nJS = ObjCreate("ScriptControl")
        $nJS.language = "JavaScript"
        $nJS.addcode($code)
        $nRegCreatePng = $nJS.Run("regcreatepng")
        Return $nRegCreatePng
EndFunc
发表于 2010-6-3 23:57:34 | 显示全部楼层
学习了!!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-22 05:37 , Processed in 0.073333 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表