[PHP] Re: How to create a button with a icon inside ?

2001-07-08 Thread Chris Lambert
? Header(Content-type: image/png); $font = php.ttf; if(!$si) $si = 66; $im = ImageCreateFromPNG(php-blank.png); $tsize = imagettfbbox($si,0,$font,$text); $dx = abs($tsize[2]-$tsize[0]); $dy = abs($tsize[5]-$tsize[3]); $x = ( imagesx($im) - $dx ) / 2; $y = ( imagesy($im) - $dy ) / 2 +

Re: [PHP] Re: How to create a button with a icon inside ?

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
Argh, responded to the wrong list. Apologies. :-) /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Chris Lambert [EMAIL PROTECTED] To: Mauro Ferreira [EMAIL PROTECTED] Cc: