Re: [nyphp-talk] Loading array from file

2007-04-04 Thread csnyder
On 4/4/07, Graham Hagger <[EMAIL PROTECTED]> wrote: For their internationalization they had used separate include files for each language, with the correct one being included at runtime based on the users language. Each of the language files basically just built the same associative array but w

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread Graham Hagger
David, I recently had to do some work with our companies meeting room booking system, which was originally based on the open source PHP based MRBS project that's out there somewhere. For their internationalization they had used separate include files for each language, with the correct one being

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread David Krings
Ben Sgro (ProjectSkyline) wrote: Hello, What about storing the result in a temp table? There is no SQL or database table involved. I don't see any good reason to keep static stuff like text strings in a database table. Also, since I do not know all languages (only two) others will find it

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread Ben Sgro \(ProjectSkyline\)
about storing the result in a temp table? - Ben - Original Message - From: "David Krings" <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Wednesday, April 04, 2007 9:57 AM Subject: [nyphp-talk] Loading array from file Hi! Working on my internationalization pro

[nyphp-talk] Loading array from file

2007-04-04 Thread David Krings
Hi! Working on my internationalization project I am now ready to load the contents of a string file into an array and use the strings. Now, I have to ideas when to do this: a) run this on load of every page with output b) run it once on the start page and store the array in the session Does a