![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/03/2012, 15:00
|
| | Fecha de Ingreso: diciembre-2009 Ubicación: Santiago, Chile
Mensajes: 143
Antigüedad: 15 años, 1 mes Puntos: 2 | |
Respuesta: hacer que se descargue el archivo con href echale un vistas a esto ojala te sirba http://www.forosdelweb.com/f18/desca...os-php-957314/
Código PHP:
Ver original<?php $rutafile = "RUTA_DE_TU_ARCHIVO"; $nombre = $_GET['nombre_archivo']; $enlace = $rutafile."/".$nombre; header ("Content-Disposition: attachment; filename=".$nombre."\n\n"); header ("Content-Type: application/octet-stream"); ?>
Última edición por Rasec101; 26/03/2012 a las 15:06 |