Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL);
- $width = 120;
- $height = 120;
- $im = @imagecreatetruecolor(120, 120);
- $text_color = imagecolorallocate($im, rand(0, 255), rand(0, 255), rand(0, 255));
- $maxrnd = 120;
- for($y=0;$y<$maxrnd;$y++) {
- imagestring($im, 10+$y*2, 0+$y*2, 0+$y*2, 'CITRUSLEAF', $text_color);
- };
- header('Content-type: image/png');
- imagepng($im);
- ?>
Add Comment
Please, Sign In to add comment