问题
I'm trying to make a captcha system that isn't the same as all the others using ASCII art text. Similar to what can be found here.
Does anyone know of a library which can generate something similar?
回答1:
The ASCII generator you linked to use the figlet program on the commandline, for example with shell_exec. Figlet can be installed on most Unix machines (and is in the package repository for some GNU/Linux distributions, for example in Debian and Ubuntu).
回答2:
You might have a look at Zend_Captcha - it has an ASCII (through figlet) adapter.
来源:https://stackoverflow.com/questions/2055466/php-library-that-generates-ascii-art-text