分享

写回答

发帖

[提问] 动网论坛怎样手工将中文验证修改为数字验证?

GoDaddy GoDaddy 1449 人阅读 | 6 人回复

发表于 2010-8-26 09:37:37 | 显示全部楼层 |阅读模式

各位朋友好:

我在windows主机上安装了动网论坛8.2.0版,并设置了登陆中文验证码,可我输入正确的中文验证码也提示验证码错误,搜索了一下,说是美国空间不支持中文验证码,可我现在怎样再进入后台把它修改为数字验证呢?

我现在登陆不了管理后台,怎样再设置它呢?

谢谢!

回答|共 6 个

开心私塾

发表于 2010-8-26 09:41:29 | 显示全部楼层

这个好像要修改源码,才能解决。找个程序员帮你修改。

lsok

发表于 2010-8-26 10:13:21 | 显示全部楼层

dv_getcode.asp 应该修改这个文件吧,但是我找不到设置验证类型的代码。

lsok

发表于 2010-8-26 10:18:43 | 显示全部楼层

是不是这个登陆验证码和域名解析有关系?我的论坛刚由国内空间搬过来,域名解析时只将 xxx.com 作好了,www.xxx.com还是指向国内空间的IP,是不是这里的问题?

开心私塾

发表于 2010-8-26 10:23:04 | 显示全部楼层

查看验证时引用的js或是vbscript代码然后修改,我对asp也不是很了解不知道他引用的原理;

gypworks526

发表于 2010-8-26 11:13:17 | 显示全部楼层

好像有一个管理员工具什么的,看看可不可以修改

add.c

发表于 2010-8-26 14:18:40 | 显示全部楼层

试试
修改Dv_Getcode.asp文件。

修改方式如下:

原始文件头部:

<%
'//===================================================
' 动网论坛验证码
' 作者        Dv.HxyMan
' 更新        2008-1-4
' 说明        前半部分为字库,后半部分为验证码生成程序。
'                可适当自行增加字库。默认为300个一级常用字。
'//===================================================
'----自动成生配置区_开始(请不要改动下面区块的内容,否则后台验证码设定程序将不能识别。)----
'<root><captcha_chartype_chinese>1</captcha_chartype_chinese><captcha_chartype_english>0</captcha_chartype_english><captcha_chartype_number>0</captcha_chartype_number><captcha_size>2</captcha_size><captcha_width_lbound>25</captcha_width_lbound><captcha_width_ubound>30</captcha_width_ubound><captcha_height_lbound>23</captcha_height_lbound><captcha_height_ubound>28</captcha_height_ubound><captcha_spacing_lbound>-6</captcha_spacing_lbound><captcha_spacing_ubound>0</captcha_spacing_ubound><captcha_angle_lbound>-15</captcha_angle_lbound><captcha_angle_ubound>15</captcha_angle_ubound><captcha_weight>1</captcha_weight><captcha_charshow>0</captcha_charshow><captcha_charshow_stepbystep_r>231</captcha_charshow_stepbystep_r><captcha_charshow_stepbystep_g>-1</captcha_charshow_stepbystep_g><captcha_charshow_stepbystep_b>-1</captcha_charshow_stepbystep_b><captcha_charshow_simple_r>0</captcha_charshow_simple_r><captcha_charshow_simple_g>0</captcha_charshow_simple_g><captcha_charshow_simple_b>8</captcha_charshow_simple_b><captcha_backshow>2</captcha_backshow><captcha_backshow_stepbystep_r>-1</captcha_backshow_stepbystep_r><captcha_backshow_stepbystep_g>-1</captcha_backshow_stepbystep_g><captcha_backshow_stepbystep_b>-1</captcha_backshow_stepbystep_b><captcha_backshow_simple_r>255</captcha_backshow_simple_r><captcha_backshow_simple_g>255</captcha_backshow_simple_g><captcha_backshow_simple_b>255</captcha_backshow_simple_b><captcha_charshow_mix_percent>30</captcha_charshow_mix_percent><captcha_backshow_mix_percent>10</captcha_backshow_mix_percent><captcha_pic_width>60</captcha_pic_width><captcha_pic_height>30</captcha_pic_height></root>
'----自动成生配置区_结束--------------------------------------------------------
Option Explicit
Dim server_v1,server_v2,Chkpost



修改为:


<%@ LANGUAGE = VBScript CodePage = 936%>
<%
Option Explicit
Response.Buffer = True  
Response.Charset = "GB2312"
'//===================================================
' 动网论坛验证码
' 作者        Dv.HxyMan
' 更新        2008-1-4
' 说明        前半部分为字库,后半部分为验证码生成程序。
'                可适当自行增加字库。默认为300个一级常用字。
'//===================================================
'----自动成生配置区_开始(请不要改动下面区块的内容,否则后台验证码设定程序将不能识别。)----
'<root><captcha_chartype_chinese>1</captcha_chartype_chinese><captcha_chartype_english>0</captcha_chartype_english><captcha_chartype_number>0</captcha_chartype_number><captcha_size>2</captcha_size><captcha_width_lbound>25</captcha_width_lbound><captcha_width_ubound>30</captcha_width_ubound><captcha_height_lbound>23</captcha_height_lbound><captcha_height_ubound>28</captcha_height_ubound><captcha_spacing_lbound>-6</captcha_spacing_lbound><captcha_spacing_ubound>0</captcha_spacing_ubound><captcha_angle_lbound>-15</captcha_angle_lbound><captcha_angle_ubound>15</captcha_angle_ubound><captcha_weight>1</captcha_weight><captcha_charshow>0</captcha_charshow><captcha_charshow_stepbystep_r>231</captcha_charshow_stepbystep_r><captcha_charshow_stepbystep_g>-1</captcha_charshow_stepbystep_g><captcha_charshow_stepbystep_b>-1</captcha_charshow_stepbystep_b><captcha_charshow_simple_r>0</captcha_charshow_simple_r><captcha_charshow_simple_g>0</captcha_charshow_simple_g><captcha_charshow_simple_b>8</captcha_charshow_simple_b><captcha_backshow>2</captcha_backshow><captcha_backshow_stepbystep_r>-1</captcha_backshow_stepbystep_r><captcha_backshow_stepbystep_g>-1</captcha_backshow_stepbystep_g><captcha_backshow_stepbystep_b>-1</captcha_backshow_stepbystep_b><captcha_backshow_simple_r>255</captcha_backshow_simple_r><captcha_backshow_simple_g>255</captcha_backshow_simple_g><captcha_backshow_simple_b>255</captcha_backshow_simple_b><captcha_charshow_mix_percent>30</captcha_charshow_mix_percent><captcha_backshow_mix_percent>10</captcha_backshow_mix_percent><captcha_pic_width>60</captcha_pic_width><captcha_pic_height>30</captcha_pic_height></root>
'----自动成生配置区_结束--------------------------------------------------------
Dim server_v1,server_v2,Chkpost
RAKSmart
您需要登录后才可以回帖 登录 | 注册

本版积分规则