Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/03/2004, 21:42
JaiMyCo.
Usuario no validado
 
Fecha de Ingreso: enero-2002
Ubicación: Bueno Aires
Mensajes: 156
Antigüedad: 22 años, 3 meses
Puntos: 0
Código PHP:
<?
$ruta 
$_GET['ruta'];
$fuente $_GET['fuente'];
$alto $_GET['alto'];
$ancho $_GET['ancho'];
$fuente = @ImageCreateFromjpeg($ruta); 
$imgAncho imagesx ($fuente); 
$imgAlto imagesy($fuente); 
$imagen ImageCreate($ancho,$alto); 

imagecopyresampled($imagen,$fuente,0,0,0,0,$ancho,$alto,$imgAncho,$imgAlto); 
Header("Content-type: image/jpeg"); 
imagejpeg($imagen); 
?>

Última edición por JaiMyCo.; 14/03/2004 a las 21:44