Any configuration points to check out? Sorry i think I even omitted my set-up...
win2k server, iis5, php 4.2.1... the code was simply some code found on zend's code site; <?php // button.php /* define("TextFONT", "3"); function ConvertColor($hexVal){ $ColorVal = array(3); for($i = 0; $i < 3; $i++) $ColorVal[$i] = HexDec(substr($hexVal, $i * 2, 2)); return $ColorVal; } $width = strlen($txt) * ImageFontWidth(TextFONT); $offset = 2; $imgFRAME = ImageCreate($width, ImageFontHeight(TextFONT)+$offset); list($red, $green, $blue) = ConvertColor($bg); $bgCOLOR = ImageColorAllocate($imgFRAME, $red, $green, $blue); list($red, $green, $blue) = ConvertColor($fg); $fgCOLOR = ImageColorAllocate($imgFRAME, $red, $green, $blue); ImageFill($imgFRAME, 1, 1, $bgCOLOR); ImageString($imgFRAME, TextFONT, 1, 1, $txt, $fgCOLOR); header("Content-type: image/gif"); ImageGIF($imgFRAME); ImageDestroy($imgFRAME); ?> called by: <img src="button.php?fg=990000&bg=ffffff&txt=button two" border="0"><br> > -----Original Message----- > From: Stuart Dallas [mailto:[EMAIL PROTECTED]] > Sent: 29 May 2002 10:03 AM > To: Brian McGarvie; [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] GD... > > > Brian McGarvie <[EMAIL PROTECTED]> wrote: > > Any Ideas? > > Show us your code and we'll see if we can identify the problem. > Unfortunately we're not mind readers. > > -- > Stuart > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php