Re: [PHP] System wide variable

2007-05-25 Thread Darren Whitlen
Richard Lynch wrote: On Wed, May 23, 2007 4:27 am, Darren Whitlen wrote: John Comerford wrote: Not thought about the memory engine actually. Will give that a try and see how it turns out. Let us know. Finaly managed to get it going (uses AJAX which im not to great at..), and the database me

Re: [PHP] System wide variable

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 4:27 am, Darren Whitlen wrote: > John Comerford wrote: > Not thought about the memory engine actually. Will give that a try and > see how it turns out. Let us know. I'd have GUESSED that MySQL would have just cached something that small and oft-used in RAM anyway, so a MySQL

Re: [PHP] System wide variable

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 4:08 am, Darren Whitlen wrote: > Stut wrote: >> Darren Whitlen wrote: >>> I have a PHP script that reads and updates either a small file or a >>> mysql database. This script is called from several places every .5 >>> seconds. >>> >>> I would like to move this file to a variab

Re: [PHP] System wide variable

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 3:52 am, Darren Whitlen wrote: > Hi, > I have a PHP script that reads and updates either a small file or a > mysql database. This script is called from several places every .5 > seconds. Errr. Okay. Seems kind of frequent to me... What/why is going on here? You may get a M

Re: [PHP] System wide variable

2007-05-23 Thread Jochem Maas
Darren Whitlen wrote: > Hi, > I have a PHP script that reads and updates either a small file or a > mysql database. This script is called from several places every .5 seconds. assuming your using a real OS whilst your figuring out an even better way to do it you might consider sticking the s

Re: [PHP] System wide variable

2007-05-23 Thread Sancar Saran
On Wednesday 23 May 2007 11:52:27 Darren Whitlen wrote: > Hi, > I have a PHP script that reads and updates either a small file or a > mysql database. This script is called from several places every .5 seconds. > > I would like to move this file to a variable for extra speed as the file > is causi

Re: [PHP] System wide variable

2007-05-23 Thread Darren Whitlen
John Comerford wrote: How about a table using the mysql memory engine ? Darren Whitlen wrote: Hi, I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for

Re: [PHP] System wide variable

2007-05-23 Thread Stut
Darren Whitlen wrote: Stut wrote: Darren Whitlen wrote: I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the file is causing a few

Re: [PHP] System wide variable

2007-05-23 Thread John Comerford
How about a table using the mysql memory engine ? Darren Whitlen wrote: Hi, I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the fil

Re: [PHP] System wide variable

2007-05-23 Thread Darren Whitlen
Stut wrote: Darren Whitlen wrote: I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the file is causing a few problems being accessed

Re: [PHP] System wide variable

2007-05-23 Thread Stut
Darren Whitlen wrote: I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the file is causing a few problems being accessed so many times

[PHP] System wide variable

2007-05-23 Thread Darren Whitlen
Hi, I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the file is causing a few problems being accessed so many times. Is it possible t