Re: Bajar ficheros del Servidor
| From: | MiKairos | Date: | Tue, 01 Apr 2003 14:29:07 +0000 |
| Subject: | Re: Bajar ficheros del Servidor | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-34513@lists.php.net to get a copy of this message | ||
>Acabo de probar esto:
>header("Content-Type: application/x-msdownload\n");
>header("Content-Disposition: attachment; filename=".basename($f).";\n"); //
For Other
>@readfile("docs/".$f);
>y me funciona bien con IE 5.5 y con IE 5.0.
>Que web server tenes ?
><jl>
Corroborado tambien con IE6, con archivos .doc, .xls, .zip, .pdf,
yo tengo Apache en un Win2k
MiKairos