Re: [PHP] APC - Upload progress problem. apc

2009-09-17 Thread Phred White
On Sep 17, 2009, at 2:09 PM, Andrea Giammarchi wrote: I wonder if massive uploads, like the ones you're coding for, really aren't that common. I can imagine hard-coding that 3600 myself, and thinking, "no way someone's going to be uploading a single file for longer than an hour, or even clos

RE: [PHP] APC - Upload progress problem. apc

2009-09-17 Thread Andrea Giammarchi
> I wonder if massive uploads, like the ones you're coding for, really > aren't that common. I can imagine hard-coding that 3600 myself, and > thinking, "no way someone's going to be uploading a single file for > longer than an hour, or even close to it." me too, also because for a silly connect

Re: [PHP] APC - Upload progress problem. apc

2009-09-17 Thread Ben Dunlap
> I was afraid it was a bug. I have generally just used whatever is at > whatever host, until this project, and didn't really think something so > glaring could be in there. WTF! I wonder if massive uploads, like the ones you're coding for, really aren't that common. I can imagine hard-coding that

Re: [PHP] APC - Upload progress problem. apc

2009-09-16 Thread Phred White
On Sep 17, 2009, at 12:27 AM, Ben Dunlap wrote: upload keys, and any keys created via apc_add(). This listing includes a Timeout value, which is "none" for the apc_add keys and 3600 for the upload keys. Somewhat suspicious, I'd say, since the keys stop being working after 1 hour of use.

Re: [PHP] APC - Upload progress problem. apc

2009-09-16 Thread Ben Dunlap
> upload keys, and any keys created via apc_add(). This listing includes a > Timeout value, which is "none" for the apc_add keys and 3600 for the upload > keys. Somewhat suspicious, I'd say, since the keys stop being working after > 1 hour of use. > > APC lets you set a number of timeout values: ap

Re: [PHP] APC - Upload progress problem. apc

2009-09-16 Thread Jim Lucas
Phred White wrote: He's back... Well folks.. The good news is that APC and my upload progress is working! : ) The bad news is, ...kind of working. : | It does exactly what I want, but at 1 hour of progress-barring, it stops. I.e., APC stops returning a response for the given key. Whethe

Re: [PHP] APC - Upload progress problem. apc

2009-09-16 Thread Phred White
He's back... Well folks.. The good news is that APC and my upload progress is working! : ) The bad news is, ...kind of working. : | It does exactly what I want, but at 1 hour of progress-barring, it stops. I.e., APC stops returning a response for the given key. Whether the connection

Re: [PHP] APC - Upload progress problem. apc

2009-09-15 Thread Nathan Nobbe
On Tue, Sep 15, 2009 at 12:05 AM, Phred White wrote: > Folks: > Thanks for all your help and suggestions. > > Miracle of miracles I am now getting a response,so I can start some level > of debugging. > > I am not sure exactly what has been going on. I NEVER got a response, then > I did - when I tr

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
Folks: Thanks for all your help and suggestions. Miracle of miracles I am now getting a response,so I can start some level of debugging. I am not sure exactly what has been going on. I NEVER got a response, then I did - when I tried uploading some different files. It seems that larger fil

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Nathan Nobbe
On Mon, Sep 14, 2009 at 4:50 PM, Phred White wrote: > Andrea: > > I have in my php.ini: > > apc.rfc1867 = On > apc.rfc1867_freq = 10K > > The apc.php diagnostic/report page says it is on. It just returns false. I > will look at your zip file and see if something jumps out. > what about your other

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
the problem? Regards > CC: f...@thefsb.org; php-general@lists.php.net > From: phpl...@planetphred.com > To: an_...@hotmail.com > Subject: Re: [PHP] APC - Upload progress problem. apc > Date: Mon, 14 Sep 2009 15:21:40 -0500 > > Andrea: > > I see. That is a cool idea, but

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
On Sep 14, 2009, at 3:30 PM, Nathan Nobbe wrote: On Mon, Sep 14, 2009 at 2:21 PM, Phred White wrote: Andrea: I see. That is a cool idea, but you are right, concurrency could definitely be a problem. That's what APC is supposed to solve because it tags the file with a unique ID. But I

RE: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Andrea Giammarchi
older, got the problem? Regards > CC: f...@thefsb.org; php-general@lists.php.net > From: phpl...@planetphred.com > To: an_...@hotmail.com > Subject: Re: [PHP] APC - Upload progress problem. apc > Date: Mon, 14 Sep 2009 15:21:40 -0500 > > Andrea: > > I see. That i

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Nathan Nobbe
On Mon, Sep 14, 2009 at 2:21 PM, Phred White wrote: > Andrea: > > I see. That is a cool idea, but you are right, concurrency could definitely > be a problem. That's what APC is supposed to solve because it tags the file > with a unique ID. But I can't get that sucker to return the value to me! If

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
this? About APC you need to enable it and so far I had no problems with files up to 350 Mb , I wonder why 1Gb should be a problem. Regards CC: php-general@lists.php.net From: phpl...@planetphred.com To: f...@thefsb.org Date: Mon, 14 Sep 2009 13:16:13 -0500 Subject: Re: [PHP] APC - Upload prog

RE: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Andrea Giammarchi
3:16:13 -0500 > Subject: Re: [PHP] APC - Upload progress problem. apc > > > On Sep 14, 2009, at 9:15 AM, Tom Worster wrote: > > > > > with files that big, perhaps could write client js that polls a > > script on > > the server that simply returns the fi

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
On Sep 14, 2009, at 9:15 AM, Tom Worster wrote: with files that big, perhaps could write client js that polls a script on the server that simply returns the file size(s)? if you want a thermometer, use the number to resize a colored div. Thanks Tom, for weighing in. Having js poll a s

RE: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Andrea Giammarchi
truly old alternative: http://www.devpro.it/upload_progress/ > CC: php-general@lists.php.net > From: phpl...@planetphred.com > To: an_...@hotmail.com > Subject: Re: [PHP] APC - Upload progress problem. apc > Date: Mon, 14 Sep 2009 10:54:21 -0500 > > Hey Andrea: > &g

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
ep 2009 04:39:26 -0500 Subject: Re: [PHP] APC - Upload progress problem. apc Bummer... It looked so promising, but on Macs, Flash has to load the entire file into memory to upload! R. So, it isn't viable for big files (Gig +) if you need it to be cross platform. So now I am looking

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Tom Worster
On 9/14/09 5:39 AM, "Phred White" wrote: > > On Sep 13, 2009, at 8:50 PM, Eddie Drapkin wrote: > >> On Sun, Sep 13, 2009 at 9:38 PM, Phred White >> wrote: >>> >>> On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: >>> On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: >

RE: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Andrea Giammarchi
Mon, 14 Sep 2009 04:39:26 -0500 > Subject: Re: [PHP] APC - Upload progress problem. apc > > Bummer... It looked so promising, but on Macs, Flash has to load the > entire file into memory to upload! R. So, it isn't viable for > big files (Gig +) if you need it to be

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Eddie Drapkin
On Mon, Sep 14, 2009 at 5:39 AM, Phred White wrote: > > Bummer... It looked so promising, but on Macs, Flash has to load the entire > file into memory to upload! R. So, it isn't viable for big files > (Gig +) if you need it to be cross platform. > > So now I am looking at perl of all thing

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Phred White
On Sep 13, 2009, at 8:50 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 9:38 PM, Phred White wrote: On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White > wrote: On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 P

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Eddie Drapkin
On Sun, Sep 13, 2009 at 9:38 PM, Phred White wrote: > > On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: > >> On Sun, Sep 13, 2009 at 8:29 PM, Phred White >> wrote: >>> >>> On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: >>> On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: >

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White > wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White > wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Eddie Drapkin
On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: > > On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: > >> On Fri, Sep 11, 2009 at 1:02 PM, Phred White >> wrote: >>> >>> Hey folks.. >>> >>> Anybody ever use APC to show upload progress? >>> >>> It sounds really cool, but apc_fetch always retur

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 11, 2009, at 4:01 PM, tedd wrote: At 2:17 PM -0400 9/11/09, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: Hey folks.. > Anybody ever use APC to show upload progress? Nope, I choose not to complicate my life. :-) Instead, I give the user one of these:

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool, but apc_fetch always returns false a value for uploads. I can apc_add something and fetch it, but not for

Re: [PHP] APC - Upload progress problem. apc

2009-09-11 Thread Nathan Nobbe
On Fri, Sep 11, 2009 at 3:01 PM, tedd wrote: > At 2:17 PM -0400 9/11/09, Eddie Drapkin wrote: > >> On Fri, Sep 11, 2009 at 1:02 PM, Phred White >> wrote: >> >>> Hey folks.. >>> >>> > Anybody ever use APC to show upload progress? >> > > Nope, I choose not to complicate my life. :-) > > Instea

Re: [PHP] APC - Upload progress problem. apc

2009-09-11 Thread tedd
At 2:17 PM -0400 9/11/09, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: Hey folks.. > Anybody ever use APC to show upload progress? Nope, I choose not to complicate my life. :-) Instead, I give the user one of these: http://webbytedd.com/bb/wait/ Besides, wh

Re: [PHP] APC - Upload progress problem. apc

2009-09-11 Thread Eddie Drapkin
On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: > Hey folks.. > > Anybody ever use APC to show upload progress? > > It sounds really cool, but apc_fetch always returns false a value for > uploads. I can apc_add something and fetch it, but not for uploads : ( > (set-up: php-apc 3.0.19, Apache2,