Re: how to get the filesize of an online document?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

You must get content-length http header value, but sometimes header is not
set and you don't have any chance to
get size.

For more info see *get_headers* function description.

On Wed, Apr 8, 2009 at 12:31 PM, Sebastian Muszytowski <
s.muszytowski@xxxxxxxxxxxxxx> wrote:

> Hello everyone,
>
> i have a little problem. I want to get the filesize of an online document
> (for example an rss or atom feed).
> I tried the filesize() function, but this doesn't work. I also search for
> options with cUrl but i didn't found any solution.
>
> Hope you can give me some hints or code snipplets so that i can work for an
> solution.
>
> Thanks in advance
>
> Sebastian
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Best Regards,
Gevorg Harutyunyan

www.soongy.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux