Hi.

I've a script to download a file.  The script adds the 1st byte 0x0A to the
downloaded file no matter what I do:

if ($file = fopen($path, 'rb')) {
      while(!feof($file) and (connection_status()==0)) {
          print(fread($file, 1024*8));
          flush();
    }
}
Even, when I comment out the loop, my file contains this single byte 0x0A.

Please Help!

Thank you,

Alex

[EMAIL PROTECTED]







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to