phpbar.de logo

Mailinglisten-Archive

[php] Dateidownload

[php] Dateidownload

Miguel Dieckmann miggge_(at)_gmx.de
Thu, 08 Feb 2001 18:10:41 +0200


on 08.02.2001 12:37 Uhr, Kai Meder at php-ml_(at)_uni.de wrote:

> 
> header("Content-type: application/octet-stream");
> header("Content-disposition: attachment; filename=$name");
> header("Content-Length: $size");
> header("Pragma: no-cache");
> header("Expires: 0");
> readfile($file);
> }
supergut!!!
es funzt. 
vielen dank kai !!!


miguel.



php::bar PHP Wiki   -   Listenarchive