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?

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-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 should not

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, nothing

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 anything, if

[PHP] Storing values in arrays

2007-01-17 Thread Ryan A
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 or 100 or X people may login in 60 seconds...but it should only

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 or 100

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 their

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 store values in

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 if

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

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... But

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 not? Cheers,

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