PHP Library That Generates ASCII Art Text [closed]

孤者浪人 提交于 2019-12-30 11:01:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!