Re: [PHP] Storing values in arrays

2007-01-20 Thread tedd
At 3:33 PM -0800 1/18/07, Ryan A wrote: tedd <[EMAIL PROTECTED]> wrote: At 7:15 AM -0800 1/17/07, Ryan A wrote: True, but thats not the most important part... I guess I wrote it wrong, I meant that it should not write to disk before 1 minute... anyway... about the "array saving" any ideas? Tha

Re: [PHP] Storing values in arrays

2007-01-18 Thread Ryan A
Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2007-01-17 at 07:15 -0800, Ryan A wrote: > > Hey! > > Thanks for replying. > > > > Instead of CRON i was thinking of having a file created and check the > > creation time everytime someone logged in... if its less than 1 min > > then don't do a

Re: [PHP] Storing values in arrays

2007-01-18 Thread Ryan A
tedd <[EMAIL PROTECTED]> wrote: At 7:15 AM -0800 1/17/07, Ryan A wrote: >True, but thats not the most important part... I guess I wrote it >wrong, I meant that it should not write to disk before 1 minute... >anyway... about the "array saving" any ideas? > >Thanks! >R Why? Hey Tedd, Aww, noth

Re: [PHP] Storing values in arrays

2007-01-18 Thread Robert Cummings
On Thu, 2007-01-18 at 10:33 -0500, tedd wrote: > At 1:55 PM -0500 1/17/07, Robert Cummings wrote: > >On Wed, 2007-01-17 at 13:14 -0500, tedd wrote: > >> At 7:15 AM -0800 1/17/07, Ryan A wrote: > >> >True, but thats not the most important part... I guess I wrote it > >> >wrong, I meant that it sh

Re: [PHP] Storing values in arrays

2007-01-18 Thread tedd
At 1:55 PM -0500 1/17/07, Robert Cummings wrote: On Wed, 2007-01-17 at 13:14 -0500, tedd wrote: At 7:15 AM -0800 1/17/07, Ryan A wrote: >True, but thats not the most important part... I guess I wrote it >wrong, I meant that it should not write to disk before 1 minute... >anyway... about the

Re: [PHP] Storing values in arrays

2007-01-17 Thread Nicholas Yim
Hello Ryan A, PHP has not application var, and not multi thread the only way is database, share memory. Best regards, === At 2007-01-17, 16:39:31 you wrote: === >Hi, > >I think its easier to explain what I want to do.. so here goes: >I want to store values in arrays for one mi

Re: [PHP] Storing values in arrays

2007-01-17 Thread Robert Cummings
On Wed, 2007-01-17 at 13:14 -0500, tedd wrote: > At 7:15 AM -0800 1/17/07, Ryan A wrote: > >True, but thats not the most important part... I guess I wrote it > >wrong, I meant that it should not write to disk before 1 minute... > >anyway... about the "array saving" any ideas? > > > > Why? Why no

Re: [PHP] Storing values in arrays

2007-01-17 Thread Robert Cummings
On Wed, 2007-01-17 at 07:15 -0800, Ryan A wrote: > > Hey! > > Thanks for replying. > > > > Instead of CRON i was thinking of having a file created and check the > > creation time everytime someone logged in... if its less than 1 min > > then don't do anything, if 1 min or more old... write file..

Re: [PHP] Storing values in arrays

2007-01-17 Thread tedd
At 7:15 AM -0800 1/17/07, Ryan A wrote: True, but thats not the most important part... I guess I wrote it wrong, I meant that it should not write to disk before 1 minute... anyway... about the "array saving" any ideas? Thanks! R Why? tedd -- --- http://sperling.com http://ancientstones.

Re: [PHP] Storing values in arrays

2007-01-17 Thread Ryan A
> Hey! > Thanks for replying. > > Instead of CRON i was thinking of having a file created and check the > creation time everytime someone logged in... if its less than 1 min > then don't do anything, if 1 min or more old... write file... But then it wouldn't be written to disk every one minute

Re: [PHP] Storing values in arrays

2007-01-17 Thread Robert Cummings
On Wed, 2007-01-17 at 02:40 -0800, Ryan A wrote: > > > Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2007-01-17 at 00:35 -0800, Ryan A wrote: > > Hi, > > > > I think its easier to explain what I want to do.. so here > goes: > > I want to sto

Re: [PHP] Storing values in arrays

2007-01-17 Thread Ryan A
Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2007-01-17 at 00:35 -0800, Ryan A wrote: > Hi, > > I think its easier to explain what I want to do.. so here goes: > I want to store values in arrays for one minute and then write them to file. > > For example, everytime someone logs in I want

Re: [PHP] Storing values in arrays

2007-01-17 Thread Robert Cummings
On Wed, 2007-01-17 at 00:35 -0800, Ryan A wrote: > Hi, > > I think its easier to explain what I want to do.. so here goes: > I want to store values in arrays for one minute and then write them to file. > > For example, everytime someone logs in I want their username to be in an > array > 1 o