i m using wamp5 version 1.4.4. and i m trying do create chart such as pie or bar chart using this version,.
i m not sure whether it support GD or not. i have downloaded php_gd.dll and save it into the ext folder.
when i try to load this code: <? $im = @ ImageCreate ( 150, 100) or die ("Cannot create a new GD image." $background_color = ImageColorAllocate ($im, 255, 255, 255); $text_color = ImageColorAllocate ($im, 233, 14, 91); ImageString ($im, 1, 5, 5, "A Simple Text String", $text_color ); header ("Content-type: image/png" ImagePng ($im); ?> it do not show any thing on my screen,
but when i load code below : <? $im = imagecreatetruecolor ( 300, 200); $black = imagecolorallocate ($im, 0, 0, 0); $white = imagecolorallocate ($im, 255, 255, 255);