本文介绍了验证码图像无法显示的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个验证码脚本应该拿起背景图片并添加一些随机字母并重新显示 这是验证码图像所属表格的一部分:
Hi, I have a captcha script which should pick up a background image and add some random letters to it and re-display This is the part of the form that the captcha image is part of:
展开 | 选择 | Wrap | 行号 推荐答案您好。 captcha.php脚本可能会打印一些错误。尝试注释掉标题并导航到浏览器中的capatcha.php文件。看看是否有任何错误。 Hi. The captcha.php script is probably printing some errors. Try commenting out the header and navigate to the capatcha.php file in your browser. See if there are any errors.
感谢您的回复,但我不确定您的意思或如何做:( Thanks for your reply, but I am not sure what you mean or how to do it :(
Line你发布的代码中有#44。删除它。 你可以简单地把#或//放在它前面来评论它。 然后打开浏览器中的脚本。 www.devchoice.info/ captcha.php 这应该告诉你为什么你的形象没有表现出来。 Line #44 in the code you posted. Remove it. You can simply put # or // in front of it to comment it out. Then open the script in your browser. www.devchoice.info/captcha.php That should tell you why your image isn''t showing like it should.
更多推荐
验证码图像无法显示的问题
发布评论