Reply to Re: PHP, OOP, and Constants

Your name:

Reply:


Posted by boris on 12/18/07 18:25

Willem - thanks for the suggestions. I guess there's no easy way to do
it. I'm using CakePHP, however, and it seems adding
define('constname','constvalue') statements to /cake/app/config/
core.php makes the constants universally available. These constant
definitions belong, ideally, in a separate configuration file, but,
for now, this is an 'okay' solution.

[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

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