?
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 +
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:
2 matches
Mail list logo