[insert_php] include 'text.php'; include 'picfile.php'; $ppath = 'templates/love-cafe-name.jpg' ; $image = imagecreatefromjpeg($ppath); imagealphablending($image, false); imagesavealpha($image, true); $color = imagecolorallocate($image,79,62,36); // Create color imagealphablending($image, true); list($width, $height) = getimagesize($ppath); if (mb_strlen($tx1) < 4){ $fontSize=55; } elseif (mb_strlen($tx1) < 7){ $fontSize=55; } else { $fontSize = $width / mb_strlen($tx1) * 0.4;} imagettftext($image, $fontSize,20,225, 260, $color , $font, $tx1); imagepng($image, $temp_folder.$fn.'.jpg'); imagedestroy($image); echo ' '; include '1name.php'; include 'vip.php'; [/insert_php]