Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/05/2003, 10:02
Avatar de luigivirgo
luigivirgo
 
Fecha de Ingreso: enero-2003
Ubicación: Toluka mejiko
Mensajes: 150
Antigüedad: 21 años, 3 meses
Puntos: 0
aki esta

Código PHP:
<?php


$onlyfile
="mi arvhivo del tipo ke sea";
header("Content-type: application/octet-stream\n");
header("Content-Disposition: attachment; filename=\"$onlyfile\"\n");
header("Content-transfer-encoding: binary\n");    
header("Content-length: " filesize("$onlyfile") . "\n"); 
$fp=fopen("$destino/$onlyfile""r"); 
fpassthru($fp); 

?>

espero te sirva Salu2
__________________
no olvides visitar tu propia komputadora en
http://computadora.de
http://paginaweb.de/luigivirgo/luis.jpg