Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/05/2008, 07:03
Avatar de Netfrank
Netfrank
 
Fecha de Ingreso: marzo-2006
Ubicación: Las Talitas - Tucumán
Mensajes: 226
Antigüedad: 19 años
Puntos: 3
¿Me explican este código? (5 líneas)

Código PHP:
header ("Content-Disposition: attachment; filename=".urlencode(basename($enlace))); 
$enlace 'archivos/'.$enlace;
header ("Content-Type: application/octet-stream"); 
header ("Content-Length: ".filesize($enlace)); 
readfile($enlace); 
__________________
-- Franco D. Ocaranza
-- [email protected]
-- http://www.jmqv.com.ar/