imageLoadFont($_SERVER['DOCUMENT_ROOT']."/font/captcha.TTF");
imageLoadFont($_SERVER['DOCUMENT_ROOT']."/font/captcha.TTF");
Цитата |
Warning: imageloadfont() [function.imageloadfont]: gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in Z:\home\test1.ru\www\captcha.php on line 8 |
Цитата |
Warning: imageloadfont() [function.imageloadfont]: Error reading font, invalid font header in Z:\home\test1.ru\www\captcha.php on line 8 |
Цитата |
"/pub/home/spbtech2/walls/fonts/impact.ttf" |
Цитата |
} |
$txt = imagettftext($img, 35, 0, 0, 45, $red,"Z:/home/test1.ru/www/engine/font/captcha.TTF", "text");
Цитата |
"/pub/home/spbtech2/walls/fonts/impact.ttf" |
echo $_SERVER['DOCUMENT_ROOT'];