Reply to How to keep global strings in another file?

Your name:

Reply:


Posted by Sonnich on 03/15/07 13:01

Hi!

I want to have a number of strings in another file, which I can
include everywhere... but I cannot make them reachable from the top
file. I have looked at var and global to to this but without luck.
The idea is to have all text the same place, which minimses changes
and spelling errors.

something like error messages stored:

<?
$sError001="stupid user";
$sError002="not available";
?>

and then :

include "errormsgs.php";
echo $sError001;

BR
Sonnich

[Back to original 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

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