【发布时间】:2011-03-22 11:03:45
【问题描述】:
在 Magento 中,我想实现 Captcha。我的模板/cms/mycaptcha 目录中有 CaptchaSecurityImages.php。在同一个目录中,我有 myform.phtml。我想要实现的是
<img src="CaptchaSecurityImages.php?width=100&height=40&characters=5" />
我什么也没得到。我还在此目录中包含了 monofont.ttf 文件。我需要做什么才能使验证码正常工作
我正在使用以下验证码
http://www.white-hat-web-design.co.uk/articles/php-captcha.php
Whiich 适用于我所有的 php 表单。请帮忙。
【问题讨论】:
-
当您将浏览器指向上述验证码 URL - CaptchaSecurityImages.php?width=100&height=40&characters=5 时会发生什么?
-
你很可能没有启用 GD。
-
不知道为什么 Magento 标签出现在这个问题上。