На локальном сервере работает: при переносе на хост текст не отображается <?php $im = imagecreatetruecolor(70,40); $rand = mt_rand(1000,9999); $c = imagecolorallocate($im,255,255,255); $date = new DateTime(); $sec = mt_rand(-18,18); $linenum = 10; for ($i=0; $i<$linenum; $i++) { $color = imagecolorallocate($im, rand(0, 150), rand(0, 100), rand(0, 150)); // Случайный цвет c изображения imageline($im, rand(0, 20), rand(1, 50), rand(150, 180), rand(1, 50), $color); } imagettftext($im, 12,$sec,10,30,$c, "verdana",$rand); $linenum = 7; for ($i=0; $i<$linenum; $i++) { $color = imagecolorallocate($im, rand(0, 150), rand(0, 100), rand(0, 150)); // Случайный цвет c изображения imageline($im, rand(0, 20), rand(1, 50), rand(150, 180), rand(1, 50), $color); } header("Content-type: image/png"); imagePng($im); ?> Настройки php на хосте: Кто-то сталкивался с такой проблемой?