25/07/2005, 17:17
|
| | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses Puntos: 11 | |
con header(), algo asi:
<?php
header("Content-disposition: attachment;filename=$nombre");
header("Content-Type: $mimetype");
readfile($ruta_archivo);
unlink($ruta_archivo);
?> |