Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/07/2010, 15:10
PLC8407
 
Fecha de Ingreso: marzo-2010
Mensajes: 38
Antigüedad: 14 años, 1 mes
Puntos: 0
Respuesta: problema con funcion de GD

<?php
$im = imagecreatefromjpeg("image.jpeg");
header("Content-type: image/jpeg");
imagejpeg($im);
imagedestroy($im);
?>

No hay manera de que me funcione , y la imagen en el explorador me dice que el tipo es jpeg y le doy igual click derecho propiedades y me dice que es jpeg


Warning: imagecreatefromjpeg(image.jpeg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in C:\wamp\www\proyecto\prueba2.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\proyecto\prueba2.php:2) in C:\wamp\www\proyecto\prueba2.php on line 3

Warning: imagejpeg(): supplied argument is not a valid Image resource in C:\wamp\www\proyecto\prueba2.php on line 4

Warning: imagedestroy(): supplied argument is not a valid Image resource in C:\wamp\www\proyecto\prueba2.php on line 5