Re: external file size, the bad way
| From: | Sascha Schumann | Date: | Wed, 26 Jul 2000 14:15:07 +0000 |
| Subject: | Re: external file size, the bad way | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-26297@lists.php.net to get a copy of this message | ||
On Wed, 26 Jul 2000, waldschrott wrote:
> > On Wed, 26 Jul 2000, waldschrott wrote:
> >
> > > I´ve found a solution. A crappy one....
> > > Would be nice if someone had a better one...
> >
> > (a) write your own HTTP handler (in PHP).
> > (b) enhance the fopen-wrappers to pass back the Content-Size
> > header of the HTTP reply
>
> ah, it really isn´t possible. You mentioned headers. How do I read out
> headers. This isn´t possible with fopen(), erg?
Right.
> I would prefer (a)...
A good start would be to read RFC 2616.
- Sascha