i tried this but itll show up as
/blank.gifName: Text
ff.gifName: Text
ie.gifName: Text
This is the current code
<?php $image = $_GET['image']; $name1 = $_GET['name1']; $text1 = $_GET['text1']; $imgf = "./bg.png"; switch($image){ case 'ff': $image2 = './ff.gif'; break; case 'ie': $image2 = './ie.gif'; break; default: $image2 = './none.gif'; } $font = "./arial.TTF"; $im_size = getimagesize($imgf); $image_width = $im_size[0]; $image_height = $im_size[1]; $im = imagecreatetruecolor($image_width, $image_height); $blue = imagecolorallocate($im, 0, 6, 255); $black = imagecolorallocate($im, 0, 0, 0); $im2 = imagecreatefrompng($imgf); imagecopy($im, $im2, 0, 0, 0, 0, $image_width, $image_height); imagedestroy($im2); imagettftext($im, 12, 0, 23, 29, $black, $font, $image2.' '.$name1.': '.$text1); header("Content-type: image/png"); imagepng($im); imagedestroy($im); ?>
Edited by Jonpopnycorn, 11 October 2006 - 12:14 PM.