生成ASCII Art文本的PHP库 [英] PHP Library That Generates ASCII Art Text
本文介绍了生成ASCII Art文本的PHP库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试制作一个与其他所有使用ASCII艺术文字的验证码系统都不相同的验证码系统.类似于在此处.
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?
推荐答案
您链接的ASCII生成器,以在命令行上使用 figlet
程序,例如,使用
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).
这篇关于生成ASCII Art文本的PHP库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文