用来生成验证码的PHP库 - cool-php-captcha
jopen
13年前
<p>cool-php-captcha 是一个很酷的 PHP 用来生成验证码的库。</p> <p><img alt="用来生成验证码的PHP库 - cool-php-captcha" src="https://simg.open-open.com/show/ae6d7b5838165a8e2b6c081518a0fe7d.jpg" width="424" height="380" /></p> <p>示例代码:</p> <pre class="brush:php; toolbar: true; auto-links: false;">session_start(); $captcha = new SimpleCaptcha(); // Change configuration... //$captcha->wordsFile = null; // Disable dictionary words //$captcha->wordsFile = 'words/es.txt'; // Enable spanish words //$captcha->session_var = 'secretword'; // Change session variable $captcha->CreateImage();</pre> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324535000921" target="_blank">http://www.open-open.com/lib/view/home/1324535000921</a></p> <p></p>