![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/12/2003, 05:15
|
| | Fecha de Ingreso: diciembre-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses Puntos: 0 | |
Gracias por tu respuesta Josemi. EL código es este:
<?php
Header("Content-type: image/png");
$im = ImageCreate(200, 200);
$red = ImageColorAllocate($im, 255, 0, 0);
//rellenamos de rojo el rectangulo
ImageFill($im, 100, 100, $red);
ImagePng($im);
?>
Copiado y pegado de un tutorial ;) |