Bonjour
bah gd marche pas j'ai essayer un code tous simple c'a m'affiche l'image http://127.0.0.1/test.php ne peut etre afficher car elle contient des erreurs
pourtant elle est enabled lorsque j'execute phpinfo();
ma page test.php :
<?php
$im = imagecreatetruecolor ( 300, 200);
$black = imagecolorallocate ($im, 0, 0, 0 );
$white = imagecolorallocate ($im, 255, 255, 255 );
imagefilledrectangle ($im,0, 0,399,99 ,$white);
imagerectangle ($im,20, 20,250,190 ,$black);
header ("Content-type: image/png" );
imagepng ($im);
?>
EDIT : J'ai reinstaller gd et ca marche apperement je n'avais pas les jpeg et png lib
Message édité par Sylftra le 01-06-2009 à 15:50:04