Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/04/2009, 10:54
Avatar de ACX_POISON
ACX_POISON
 
Fecha de Ingreso: abril-2008
Ubicación: Talca-Chile
Mensajes: 750
Antigüedad: 16 años, 11 meses
Puntos: 7
Respuesta: ayuda PhpExcel

si te queda guardado en el servidor talvez te sirva este codigo que encontre en este mismo foro
No recuerdo de quien era pero aqui esta.:

Código PHP:
<?php
//envia como descarga un archivo determinado
$file="galeria/img/caja.png";
header("Content-Disposition: attachment; filename=" urlencode($file));   
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Description: File Transfer");            
header("Content-Length: " filesize($file));
flush(); // this doesn't really matter.

$fp fopen($file"r");
while (!
feof($fp))
{
    echo 
fread($fp65536);
    
flush(); // this is essential for large downloads

fclose($fp);
echo
"Descargando...";
?>
a $file le debes asignar la ruta del archivo
__________________
Me junto con los que Saben, Queriendo Saber.