
12/11/2011, 12:33
|
| | Fecha de Ingreso: noviembre-2011
Mensajes: 6
Antigüedad: 13 años, 4 meses Puntos: 2 | |
Respuesta: Error al descargar un archivo Este es el codigo que uso man ayuda no doy noc q mas hacer
$enlace = $rutafinal."/".$nombre;
header ("Content-Disposition: attachment; filename=".$nombre."\n\n");
header ("Content-Type: application/octet-stream");
header ("Content-Length: ".filesize($enlace));
readfile($enlace); |