Estoy poniendo una palabra en una imagen con esta función:
Código PHP:
<?php
header("Content-type: image/gif");
// constants
define("FONT_SIZE", "24");
define("FONT_FAMILY", "fuente.ttf");
// parameters
$text = isset($_REQUEST["text"])? $_REQUEST["text"]: "???";
$im = imagecreate (500, 100);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, FONT_SIZE, 0, 10, 40, $white, FONT_FAMILY, $text);
imagejpeg ($im);
imagedestroy ($im);
?>
Es decir, si pongo HOLA que aparezca ALOH pero con la L al reves tambien...
Se que esta la funcion strrev() pero esa pone ALOH no pone ALOH con la L al reves...
Un saludo,