Re: [PHP-DEV] external file size, the bad way From: Sascha Schumann (sascha <email protected>)
Date: 07/26/00

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>