Ver Mensaje Individual
  #6 (permalink)  
Antiguo 16/05/2006, 12:51
sarverok007
 
Fecha de Ingreso: enero-2005
Mensajes: 115
Antigüedad: 19 años, 3 meses
Puntos: 1
De acuerdo

Bien, gracias Cluster, ya me funciona perfectamente, espero que el buffer de salida de PHP que utiliza el readfile no tienga limite.

Código PHP:

if($v_list != 0){//Si todo fue bien ...
    
header('Content-type: application/octet-stream');
    
header('Content-Disposition: attachment; filename='.$nombre_fichero);
    
readfile($nombre_fichero);
    
unlink($nombre_fichero);

Gracias
__________________
SaRvErOk :ojotes: