Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-05 Thread ceo
> I'm still a little confused on this though. How would a browser send > this to notify of a download that was only partially completed before? As I understand it, it was more of a "partially cached" document issue. If the browser has the first N bytes of a document in its cache, it will se

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-04 Thread Jim Lucas
Michelle Konzack wrote: Hello Eric, Am 2009-01-04 14:33:37, schrieb Eric Butera: On Sun, Jan 4, 2009 at 1:39 PM, Michelle Konzack wrote: [ '/usr/share/tdphp-vserver/includes/02_functions.inc' ] function fncPushBinary($type='show', $file, $mime='') { $BUFFER=1024;

[PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-04 Thread Michelle Konzack
Hello Eric, Am 2009-01-04 14:33:37, schrieb Eric Butera: > On Sun, Jan 4, 2009 at 1:39 PM, Michelle Konzack > wrote: > > [ '/usr/share/tdphp-vserver/includes/02_functions.inc' ] > > function fncPushBinary($type='show', $file, $mime='') { > > > >$BUFFER=1024; > > > >

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-04 Thread mike
On Sun, Jan 4, 2009 at 1:23 AM, Ashley Sheridan wrote: > I'm still a little confused on this though. How would a browser send > this to notify of a download that was only partially completed before? I use it to process information from a POST that a Google Gears based uploader sends. -- PHP Ge

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-04 Thread Ashley Sheridan
On Sat, 2009-01-03 at 23:41 -0800, mike wrote: > I actually use $_SERVER['HTTP_CONTENT_RANGE'] in my setup (nginx + > php-fpm) - I don't think I get an 'HTTP_RANGE' ... > > > > On Sat, Jan 3, 2009 at 9:52 PM, Lars Torben Wilson > wrote: > > 2009/1/3 Ashley Sheridan : > >> On Sat, 2009-01-03 at

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-03 Thread mike
I actually use $_SERVER['HTTP_CONTENT_RANGE'] in my setup (nginx + php-fpm) - I don't think I get an 'HTTP_RANGE' ... On Sat, Jan 3, 2009 at 9:52 PM, Lars Torben Wilson wrote: > 2009/1/3 Ashley Sheridan : >> On Sat, 2009-01-03 at 17:39 -0500, Eric Butera wrote: >>> On Sat, Jan 3, 2009 at 5:19 P

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-03 Thread Lars Torben Wilson
2009/1/3 Ashley Sheridan : > On Sat, 2009-01-03 at 17:39 -0500, Eric Butera wrote: >> On Sat, Jan 3, 2009 at 5:19 PM, Michelle Konzack >> wrote: >> > Am 2009-01-03 10:16:43, schrieb Eric Butera: >> >> On Sat, Jan 3, 2009 at 9:23 AM, Ashley Sheridan >> >> > I don't think this is actually possible.

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-03 Thread Ashley Sheridan
On Sat, 2009-01-03 at 17:39 -0500, Eric Butera wrote: > On Sat, Jan 3, 2009 at 5:19 PM, Michelle Konzack > wrote: > > Am 2009-01-03 10:16:43, schrieb Eric Butera: > >> On Sat, Jan 3, 2009 at 9:23 AM, Ashley Sheridan > >> > I don't think this is actually possible. I've never seen it happen > >> > b

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-03 Thread Eric Butera
On Sat, Jan 3, 2009 at 5:19 PM, Michelle Konzack wrote: > Am 2009-01-03 10:16:43, schrieb Eric Butera: >> On Sat, Jan 3, 2009 at 9:23 AM, Ashley Sheridan >> > I don't think this is actually possible. I've never seen it happen >> > before. It would need some sort of dedicated client-side software t

[PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-03 Thread Michelle Konzack
Am 2009-01-03 10:16:43, schrieb Eric Butera: > On Sat, Jan 3, 2009 at 9:23 AM, Ashley Sheridan > > I don't think this is actually possible. I've never seen it happen > > before. It would need some sort of dedicated client-side software to > > recognise exactly how much has been downloaded and then