Hej Kim,

> Hi there

> > have you ever double entered the same words?

> Well, if You do that, the later is the overwriting the previous ;)
Exactly what I want to avoid.

That was a pretty good example of using language files...and I really liked
the text in that file...funny ;-)

I understand the thing about why _not_ to use a database or sessions (i
thought of that before, too many calls or resource intensive) but isnt your
method of searching a text document all the time a bit more of a problem
than Mikes method of having a seperate language file like lang.en.inc.php
where you would have arrays like so:

$lang_en['party_starting_tomorrow'] = "The party starts tomorrow!";
$lang_en['old_party_was_success'] = "The old party was a fantastic
success!";

Cheers,
Ryan



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to