From 32a999a744e740a4d19db294d200e2d7e07f5319 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 4 Feb 2004 17:22:44 +0000 Subject: [PATCH] Se pone cabecera para que envie archivos con nombre lindo. --- sistema/www/servicios/informes/get_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sistema/www/servicios/informes/get_file.php b/sistema/www/servicios/informes/get_file.php index 6753af9..c0446af 100755 --- a/sistema/www/servicios/informes/get_file.php +++ b/sistema/www/servicios/informes/get_file.php @@ -24,7 +24,7 @@ $dir = '/var/www/mecondav/archivos/'; $dir = $dir.$_GET['id']; header("Content-Type: ".$mime); -//header("Content-Disposition: attachment; filename=".$filename); +header("Content-Disposition: attachment; filename=".$filename); header("Pragma: no-cache"); header("Expires: 0"); header("Content-Length: ".$filesize); -- 2.43.0