Cannot modify header information - headers already sent by This is the message when i enter the below easy and small source code FOR CREATING A FILLED RECTANGLE : <?php header("Content-Type: image/gif"); $im = ImageCreate(100, 100); // colors... $black = ImageColorAllocate($im, 0, 0, 0); $white = ImageColorAllocate($im, 255, 255, 255); // draw rectangle ImageFilledRectangle($im, 25, 25, 75, 75, $white); // Print and destroy the image ImageGIF($im); ImageDestroy($im); ?> After that message i get a lot of unrecognizable string characters ... What is wrong ????? Anyone?