#---------------------------- # 画像認証機能のための画像出力 #---------------------------- require_once ("./template_item/lib/php/image_auth.php"); $base_image = './template_item/var/system/auth_base.jpg'; $back_image = './template_item/var/system/auth_on.jpg'; $color = '#777777'; $size = '25'; $font = './template_item/var/system/ttf-japanese-gothic.ttf'; $out_put = './text.jpg'; # 認証記号(文字)の出力 $auth_str = uniqid(); $auth_str = substr($auth_str,8,5); $text = $auth_str; $boild_auth_str = sha1($auth_str); # Functionから画像出力 $re = text_write($base_image,$back_image,$color,$size,$font,$text,$out_put); ?>