i have edited my php.ini for php_gd.dll and apache works fine but when i call <img src="button.php?text"> my page cant draw the image but gives no parse error.
here is my button.php
<?php
Header("Content-type: image/png");
$string=implode($argv," ");
$im = imageCreateFromPng("images/button1.png");
$orange = ImageColorAllocate($im, 220, 210, 60);
$px = (imagesx($im)-7.5*strlen($string))/2;
ImageString($im,3,$px,9,$string,$orange);
ImagePng($im);
ImageDestroy($im);
?>
any suggestions? thanks