Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/01/2005, 19:12
Avatar de Pandragon
Pandragon
 
Fecha de Ingreso: abril-2003
Ubicación: Alicante - España
Mensajes: 66
Antigüedad: 21 años
Puntos: 0
Finalmente encontré donde estaba el error.

Código PHP:
<?php

$image 
"signature_blank.png"//plantilla
$archivo "images/final.png";
$im imagecreatefrompng($image); 
$blue ImageColorAllocate ($im550250);  // Letra azul
$now date("M d,Y H:i:s");  // Fecha, a incluir
$red  ImageColorAllocate ($im25500); // Letra roja
$j 8// Modificar con valor de la consulta sobre $production
$space $j*6+240;
ImageString($im31405" Jugador:  $player"$blue); 
ImageString($im214017"growth:   $growth science: $science"$blue); 
ImageString($im214030"culture:   $culture Production: $production"$blue); 
ImageString($im2$space30"Speed: $speed"$red); 
ImageString($im214040"Atack:     $atack Defense: $defense"$red); 
Imagepng($im,$archivo); 
ImageDestroy ($im); 

?>
El error era que soy un borrico y generaba la imagen con Imgepng($im,'',100) pero no le decía que me la guardara.