STAUFFi
7th June 2013, 10:38
Hey
I hope you like it! :)
<?php
$text_random[1]='CHANGE ME';
$text_random[2]='CHANGE ME';
$text_random[3]='CHANGE ME';
$text_random[4]='CHANGE ME';
$text_random[5]='CHANGE ME';
$text_random[6]='CHANGE ME';
$random_text = rand(1,6);
$im = imagecreatefrompng("YOUR_PICTURE_FOR_THE_SCRIPT");
$white = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 3, 300, 20, $text_random[$random_text], $white);
header("Content-type: image/png");
imagegif($im);
imagedestroy($im);
?>
I hope you like it! :)
<?php
$text_random[1]='CHANGE ME';
$text_random[2]='CHANGE ME';
$text_random[3]='CHANGE ME';
$text_random[4]='CHANGE ME';
$text_random[5]='CHANGE ME';
$text_random[6]='CHANGE ME';
$random_text = rand(1,6);
$im = imagecreatefrompng("YOUR_PICTURE_FOR_THE_SCRIPT");
$white = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 3, 300, 20, $text_random[$random_text], $white);
header("Content-type: image/png");
imagegif($im);
imagedestroy($im);
?>