$fileRand = md5(rand(100000,999999)); $backgroundimage = "1.gif"; $colour = imagecolorallocate($im, 255, 255, 255); $font = '../ARIAL.TTF'; $angle = 0; // Add the text $im=imagecreatefromgif($backgroundimage); $attack=$_SESSION['attack']; imagettftext($im, 5, 0, 10, 20, $colour, $font, $attack); $outfile= "$fileRand.png"; imagepng($im);
Edited by Jaan, 31 May 2008 - 05:47 AM.
Please use code tags when you're posting your codes..


Sign In
Create Account

Back to top









