Re: external file size, the bad way

From: Date: Fri, 28 Jul 2000 06:49:13 +0000
Subject: Re: external file size, the bad way
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-26661@lists.php.net to get a copy of this message
Sascha Schumann 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 Stig Venaas brought up one reason to re-implement file resources, this is another. File resources should not use FILE as their block of data, they should use PHP_FILE or something, so we can store more information. It's one hell of a job though, and IMHO enough to warrant a 4.1 release. - Stig

« previous php.dev (#26661) next »