Help me test a captcha issue

Feel free to help me work out the kinks of my captcha code by posting a comment to this thread. The bit of code I use, in a slightly modified for, to protect myself from comment spam, doesn’t work on the new host because it makes a call to the bcmod() function of the bcmath PHP library. This library is included with PHP, but it’s slow and you have to built it in when you compile. Dreamhost will actually let you compile your own version of PHP. But that’s more work than I’d like to undertake at the moment.

The captcha code only uses those calls to randomize the position of the numbers in the bounding box of the captcha image. So I just hard-coded the x/y coordinates so I could comment out those calls. It was working fine for me yesterday, but I got a bug report from Jack this morning. So it needs some further testing. So I’ll be hitting this post with some comments, and you should, too.

Leave a Reply

Your email address will not be published. Required fields are marked *