如何获取这种验证码的图片呢?
本帖最后由 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>
懂的大哥帮帮忙 调用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 学习了!!
页:
[1]