Al wrote:
I freely use defined constants for all fixed variables in my config file.

It insures they cannot be inadvertently reassigned by a function someplace and are available everywhere.

That's a good idea, I have been thinking about this.

Never thought they have global scope, though - a good reminder.

define('MYSQL_HOST',"localhost");

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

Reply via email to