Hola a todos:
Tengo el siguiente script en php y no se como cambiar el tipo de letra a más grande, por favor, ¿podéis ayudarme? gracias.
<?php
session_start();
function randomText($length) {
$pattern = '1234567890abcdefghijklmnopqrstuwxyz';
for($i=0;$i<$length;$i++) {
$key .= $pattern{rand(0,35)};
}
return $key;
}
$_SESSION['tmptxt'] = randomText(8);
$captcha = imagecreatefromgif("bgcaptcha1.gif");
$colText = imagecolorallocate($captcha, 0, 0, 0);
imagestring($captcha, 5, 10, 7, $_SESSION['tmptxt'], $colText);
header("Content-type: image/gif");
imagegif($captcha);
?>