![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/04/2011, 11:05
|
| | Fecha de Ingreso: abril-2011
Mensajes: 2
Antigüedad: 13 años, 9 meses Puntos: 0 | |
Imagen Dinamica tengo un error en el codigo en esta linea: header("Content-type: image/png");
Codigo:
<?php
//mensajes
$m = array (4);
$m[0]="Lunes";
$m[1]="Martes";
$m[2]="Miercoles";
$m[3]="Jueves";
$r=rand(0,3);
$imagen=imagecreate(320,320);
$imagen=imagecreatefrompng("imgen.png");
imagestring ($imagen,3,10,60,$m[$r],3)
header("Content-type: image/png");
?>
<img src="index.php"/>
quien me puede ayudar... se los agradesco |