Bonjour,
Jai le script suivant:
<?php
//create a 200 * 200 image
$img = imagecreate(200, 200);
//allocate some colors
$white = imagecolorallocate($img, 255, 255, 255);
//draw a white circle
imagearc($img, 100, 100, 150, 150, 0, 360, $white);
//output image in the browser
header("Content-type: image/png");
//free memory
imagedestroy($img);
?>
Aprés execution, j'obtiens le message d'erreur:
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\rond.php:9) in C:\wamp\www\rond.php on line 20
Que faut-il faire pour remedier à ça.Merci
Partager