HTTP question
| From: | Éles Zoltán | Date: | Tue, 05 Dec 2000 14:12:57 +0000 |
| Subject: | HTTP question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5019@lists.php.net to get a copy of this message | ||
Hi!
I don't understand this:
The size of dowloaded file is 34 byte greater, than before download.
Does anybody has the answer?
This script makes the download:
$file=fread($fp = fopen("/home/download/CrMon13nodialup.zip", 'r'),
filesize("/home/download/CrMon13nodialup.zip")); fclose($fp);
Header ("Content-Type: application/zip");
header("Content-Disposition: attachment; filename=CrMon13nodialup.zip");
echo ($file);
thanks
zoli