On Sunday 22 April 2001 21:25, Sigitas Paulavicius wrote:
> Solution #1
>
> $contents = fread ($pointer, 1);
>
>
>
> Solution #2
>
> $contents="";
> while ($partial = fread ($pointer, 8192)) {
> $contents.=$partial;
> };
But test this before you rely on it. I once did this with (
Solution #1
$contents = fread ($pointer, 1);
Solution #2
$contents="";
while ($partial = fread ($pointer, 8192)) {
$contents.=$partial;
};
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Well, it use to happen...
[from function.filesize.html]
int filesize (string filename)
This function will not work on remote files; the file to be examined must be
accessible via the server's filesystem.
Ok, I screwed up. But now that I know what went wrong, how can I override
this? The docs sai
3 matches
Mail list logo