La primera, el fondo, la tengo yo en mi ftp.
La segunda es de una web, que varia en funcion de unos valores que no importan.
El problema es que cuando lo intento hacer me sale estos errores:
Warning: Cannot modify header information - headers already sent by (output started at c:\archivos de programa\easyphp1-8\www\tufirma.php:2) in c:\archivos de programa\easyphp1-8\www\tufirma.php on line 3
Fatal error: Call to undefined function: imagecreatefromgif() in c:\archivos de programa\easyphp1-8\www\tufirma.php on line 7
Aqui el codigo:
Código PHP:
<?php
header ("Content-Type: image/GIF");
$bg = ImageCreateFromGIF("img/bg.gif");
$nom = 'kifow.';
$habbo = ImageCreateFromGIF("http://www.habbo.es/habbo-imaging/avatarimage?user=".$nom."&img_format=gif");
imagecopy($bg,$habbo,0,0,0,0, imagesx($habbo), imagesy($habbo));
imageGIF($bg);
ImageDestroy($bg);
ImageDestroy($habbo);
?>
Gracias por la ayuda