note 8223 added to filesize
| From: | php at smintman dot de | Date: | Thu, 31 Aug 2000 18:28:05 +0000 |
| Subject: | note 8223 added to filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3798@lists.php.net to get a copy of this message | ||
to store a file (works with remote ones to):
function savefile($f_filein,$f_fileout){
$file_in = fopen ($f_filein,"r");
$file_out = fopen ($f_fileout,"w");
while (!feof($file_in))
fwrite($file_out, fread($file_in, 1000));
fclose($file_in);
fclose($file_out);
}
http://www.php.net/manual/function.filesize.php