note 31029 deleted from function.header by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:40:55 +0000 |
| Subject: | note 31029 deleted from function.header by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55641@lists.php.net to get a copy of this message | ||
Note Submitter: pmdMadrid@hotmail.com
----
I'm using the header to download a rpm file. First I used the following code to upload the
file:
$fp=fopen("$filename", 'r');
fpassthru($fp);
fclose($fp)
The file download fine, but the size of that was different from the original
Then I change that code by
readfile("$filename");
and all was fine.