Posted by windandwaves on 01/09/06 02:25
Ivαn Sαnchez Ortega wrote:
> But, as you may already know, global variables are the dirty and bad
> way of doing stuff... reconsider passing parameters.
Yes, I know, but the variable I am using is a variable that should really be
a define("myvar", "xxx");
The reason i am using a variable is that these are easier to customise. I
have file with standard values and then a config file that overrides any
variable that should be customised for a particular application. Defined
constants can only be defined once.
Hope that makes sense
Nicolaas
[Back to original message]
|