Vancete Conociendo Foroz


Registrado: 28 Nov 2006
Mensajes: 31
|
Publicado: Vie Nov 02, 2007 11:05 pm Título del mensaje: Porqué este script no funciona? |
|
|
Buenas...
Pues tengo este script:
| Código: |
<?
$sClan1 = $_POST['C1'];
$sResultado1 = $_POST['R1'];
$sClan2 = $_POST['C2'];
$sResultado2 = $_POST['R2'];
header ("Content-type: image/png");
$img_handle = ImageCreateFromPNG ("ResultadoWar.png") or die ("Cannot Create image");
$back_color = ImageColorAllocate ($img_handle, 255, 255, 255);
$txt_color = ImageColorAllocate ($img_handle, 255, 255, 255);
ImageString ($img_handle, 3, 15, 6, "$sClan1", $txt_color);
ImageString ($img_handle, 3, 175, 6, "$sResultado1", $txt_color);
ImageString ($img_handle, 3, 15, 26, "$sClan2", $txt_color);
ImageString ($img_handle, 3, 175, 26, "$sResultado2", $txt_color);
ImagePng ($img_handle);
?> |
El caso es que por ejemplo intento ver la imágen así:
http://vancete.dwn.iespana.es/war.php?C1=C...&C2=Clan2&R2=10
Y me da error,alguien sabria decirme por qué da ese fallo??
Hay algun fallo en el código?
Saludos y gracias!  _________________
[URL=http://nationds.byethost9.com/]
[/URL] |
|