1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
|
<?
/*
php code
.
.
*/
$im = @ImageCreate (50, 100);
$background_color = ImageColorAllocate ($im, 255, 255, 255);
$text_color = ImageColorAllocate ($im, 233, 14, 91);
ImageString ($im, 1, 5, 5, "Ein Test-String", $text_color);
ob_start();
imagejpeg($im,'',50);
$buff = ob_get_contents();
ob_end_clean();
print $buff;
flush();
/*
php code
.
.
*/
?>
|