variables (2)

D.E. Classifieds Documentation - Variables Main Page Variables Configuration variables Configuration variables are in the file named "cnfg_vars.php" . This file is for variables that hold info like DB connection info, url paths, and settings to help customize the look of the site. Global variables I wanted to try to keep the usage of global symbols down to a minimum. So what I did was create a global hash, or what you might call an associative array, to hold most of the global variables that the application uses. This array is named "$gbl". It is located in the "lib" directory in the file named "vars_gbl.php" . Every once in while I assign values to elements that don't already exists in the $gbl array, or in other words are not predefined. This is just a convenient place to store values in certain situations. So for instance I might do something like this: $gbl['misc']['trueOrFalse'] = true; Top of page Main Page
Wyszukiwarka

Podobne podstrony:
function import request variables
Grid Power Quality with Variable Speed Wind Turbines
two variables
zend arguments variable
Natural Variability in Phenolic and Sesquiterpene Constituents Among Burdock
security variables
language variables
VariableDeclaration
Dynapower PH IV 12 0 0cu Pumps Motors & Variable Motors Parts
function import request variables
security variables
Dynapower PH III 4 8 & 6 0cu Pumps Motors Variable motors Parts

więcej podobnych podstron