Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/11/2007, 12:57
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 2 meses
Puntos: 17
Re: imagecreatefromjpg() url externa

Lo podés hacer mucho más fácil que eso...

Código PHP:
$image $_GET['i'];
$carpeta $_GET['c'];
$image"imgs/" .$carpeta "/" $image ".jpg";  
$ext substr($image, -3); 
header("Content-Type: image/jpeg"); 
readfile($image);