Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

[PHP-DB] HTTP question From: Éles Zoltá (zeles <email protected>)
Date: 12/05/00

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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>