PHP Class CLASS_SECCODE

显示文件 Open project: baigoStudio/baigoSSO Class Usage Examples

Public Methods

Method Description
secDo ( ) 对外生成
secSet ( $sec_size = 20, $sec_len = 4, $sec_font = "FetteSteinschrift.ttf" ) 设置验证码

Private Methods

Method Description
createBg ( ) 生成图片及背景
createCode ( ) 生成验证码
createFont ( ) 生成文字
createLine ( ) 加入干扰
secOutput ( ) 输出

Method Details

secDo() public method

对外生成
public secDo ( )

secSet() public method

设置验证码
public secSet ( $sec_size = 20, $sec_len = 4, $sec_font = "FetteSteinschrift.ttf" )