![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
|
|||||
|
Регистрация: Jun 2004
Сообщений: 121
|
Вообщем код:
<?php $text = "привет"; $im = @imagecreate(100, 20) or die("Облом!!!"); $background_color = imagecolorallocate($im, 155, 255, 255); $text_color = imagecolorallocate($im, 133, 14, 91); //imagestring($im, 1, 5, 5, $text, $text_color); imagettftext($im, 20,0,10,20,$text_color,"cour.ttf",$text); $name = rand(1, 1000000000); imagejpeg($im,"foto/example$name.jpeg"); imagejpeg($im); imagedestroy($im); ?> Создает каракули.... как сделать, чтоб отображался нормальный русский шрифт... |
![]() |
Часовой пояс GMT +4, время: 22:44. |
|
|
« Предыдущая тема | Следующая тема » |
|
|