Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/09/2006, 11:25
Avatar de david_M_G
david_M_G
 
Fecha de Ingreso: febrero-2005
Mensajes: 938
Antigüedad: 19 años, 2 meses
Puntos: 20
A lo mejor te refieres a que aparezca la ventana de descargar un archivo, pero nunca descargarlo directamente sin previo permiso...

Podría ser justo lo que se puso en el otro post:

Código PHP:

<?php
$enlace 
=$id;
header ("Content-Disposition: attachment; filename=".$id);
header ("Content-Type: application/download ");
header ("Content-Length: ".filesize($enlace));
readfile($enlace);
?>
suerte