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

2009-04-08 Thread Sebastian Muszytowski
Hi, thanks for the hint, but how can i get the size when the header isn't specified? is there the possibility to "count the bits and bytes" when i get the file? Sebastian Gevorg Harutyunyan schrieb: Hi, You must get content-length http header value, but sometimes header is not set and yo

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

2009-04-08 Thread Gevorg Harutyunyan
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.muszytow...@googlemail.com> wrote: > Hello everyone, > >