Chaillan Nicolas wrote:
> Hi,
>
> There is no way to get the filesize of a file using a remote file.
That's not true. GetImageSize works also on remote files.
>> here's my code
>> $imagesize = getimagesize(http://domain/image.jpg);
>> echo $imagesize[3];
>>
>> but it returns nothing. If I use a
Hi,
There is no way to get the filesize of a file using a remote file. You
should download it to a tmp directory then check. If it is get with an http
server, you should code something with sockets to ask to the http server the
filesize using a request.
--
Merci de nous avoir choisi. - Thanks yo
2 matches
Mail list logo