Home  >  Article  >  Backend Development  >  php创建验证码,该怎么处理

php创建验证码,该怎么处理

WBOY
WBOYOriginal
2016-06-13 13:30:18860browse

php创建验证码
刚开始看php使用GD2函数创建验证码,里面遇到问题了,最后两句不理解:
$ImageFun='Image'.$type; 

$ImageFun($im);
这两句话是什么意思?$ImageFun是变量吗?为什么我把最后一句话注释掉,就不显示验证码了,难道$ImageFun是个函数?但是我查了PHP手册,好像没有这个函数,期待高手给我解释一下最后这两句话的含义。

------解决方案--------------------
不送白不送.给系统还不如给大家
------解决方案--------------------
LZ不厚道啊,还是散分吧!
------解决方案--------------------
分..

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn