Bon je regarde dans tous les forum mais je ne vois pas la solution à mon problème.
Mon scritp :
cela me génère une erreur de ce type
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 putenv('GDFONTPATH=' . realpath('.')); $font = 'arial'; imagettftext($img_s, $size_titre1, 0, $x_titre1, FORMAT+$y_titre1, $gris, $font, $s_ss_titre);
le fichier arial.ttf ets stocké dans le même répertoire que mon script.Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home3/b/beaufreton-h/www/bayard/admin/news/mkImgHomePage.php5 on line 36
Il faut aussi noter que sur mon serveur web perso ce script fonctionne alors que chez monhébergeur cela ne marche pas (php5 avec GD : bundled (2.0.28 compatible))...
A l'aide
Partager