You are here: Re: Too match text I think. « All PHP « IT news, forums, messages
Re: Too match text I think.

Posted by Steve on 10/13/06 16:56

| Totaly wrong
|
| > if($_SESSION['lang'] == 'de')
| > {
| > require_once('lang_de.php')
| > }
| > elseif($_SESSION['lang'] == 'fr')
| > {
| > require_once('lang_fr.php')
| > }
| > else
| > {
| > require_once('lang_en.php')
| > }
| >
|
| No sense

perfect sense.

| He should to use only ONE FILE - no more!

ok, don't just drop a bomb and run. support your oppinion with fact or
experience so that fritz can learn. from my standpoint, the ONE FILE
approach is VERY hard to manage on a scale of
languagesSupported*(amountOfText/2)^2...and i mean that literally in a
mathematic scale of difficulty. PLUS, ONE FILE will become quite large and
when included, consumes an *enormous* amount of memory if supporting very
many languages. using a SINGLE file eliminates BOTH problems. what leads you
to another oppinion?

| and just put in separated data to this file

please support your argument or i shall be forced to give the 'general
populous armed with nukes' warning. ;^)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация