25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

font_linuxfr.php 353 B

1234567891011
  1. <?php
  2. dl("gd.so");
  3. header("Content-type: image/png");
  4. $s = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
  5. $im = imagecreate(strlen($s) * 9, 12);
  6. $bg = imagecolorallocate($im, 255, 255, 255);
  7. $fg = imagecolorallocate($im, 0, 0, 0);
  8. imagestring($im, 5, 0, -3, $s, $fg);
  9. imagepng($im);
  10. imagedestroy($im);
  11. ?>