HTTP has a method called HEAD, that is for example can be used for
exmample to get the requested files' size if the other web
server/php script supplies it.
So all you have to do is to make a connection to the other web
server, give a HEAD request (it is almost the same as GET), and
parse the data that the server sends back. If there's a
Content-Lenght header...
> The only function that gets you image size is GetImageSize()
> which you claimed cannot do remote check. Therefore, I do not
> think you can manage this without downloading/copying the file to
> your server.
>> It is possible to get the filesize for couple files on other
>> server, without downloading ?
>> Probably this will be not fully resolved, but is there any way
>> >?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to