Application-level variables
| From: | Lloyd Bayley | Date: | Sun, 08 Feb 2004 10:54:41 +0000 |
| Subject: | Application-level variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177133@lists.php.net to get a copy of this message | ||
Greetings Everyone,
I am still new to PHP but am progressing nicely. I has helped a lot that I have had vast experience with ColdFusion (sorry) but have seen the light and am now doing rather nicely in PHP.
My question is as follows...
I have certain functions, variables etc that I would like to be active in an application-wide state.
CF has an "application.cfm" file that is read in (if it exists in the directory) which is used for this purpose.
Is there a similar creature in PHP? If not, how is it best to define application-level stuff?
Many Thanks In Advance,
Lloyd. :-)