Re: Getting the filesize of an image?
| From: | Matt McClanahan | Date: | Sat, 01 Dec 2001 21:01:55 +0000 |
| Subject: | Re: Getting the filesize of an image? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76322@lists.php.net to get a copy of this message | ||
On Sat, Dec 01, 2001 at 09:55:47AM +0200, faeton wrote:
> Hello Matt,
>
> filesize() works only on local filesystems.
If you want the size of a remote file, you'll have to download it; HTTP
doesn't provide a way to query a remote file's size. FTP does, if you have
FTP access.
Matt