验证码图像 [英] captcha image

查看:86
本文介绍了验证码图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hiii,

任何人都可以告诉我如何捕获验证码图像文本。

hiii,
can any one told me how can i capture captcha image text.

推荐答案

自从验证码的全部内容图像是为了确保文本响应不是由计算机生成的,这听起来相当棘手,我不禁想知道你有什么合法目的? :confused:
Since the whole point of a Captcha image is to ensure that the text response is NOT generated by a computer it sounds quite tricky & I cannot help but wonder what legitimate purpose you have? :confused:


为什么要捕获图像文本,当您生成验证码图像时,您将一些随机文本写入该图像并将文本存储在服务器端[如会话]。当用户提交表单时,您将输入的值与存储的值进行比较。



要知道如何生成图像,您可以在谷歌或代码项目上搜索得到很多例子。
Why you want to capture the image text, when you generate a captcha image you write some random text to that image and store the text at server side [like in session]. And when user submits the form you compare the entered value with the stored value.

To know how to generate the image you can search this on google or code project you will get lot of examples on that.


这篇关于验证码图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆