I haven't worked with ColdFusion much so I'm not quite sure what
application-level variables are. However, I did do some quick research and I
believe they are basically variables that are available to all scripts
running on the server (correct me if I'm wrong).

Assuming the above definition of application variables, I would say that I
don't know of any PHP mechanism that allows such functionality. However, I
did find an article that talks about alternatives. Here it is:
http://php.weblogs.com/php_application_variables

HTH,

Shaunak

----- Original Message ----- 
From: "Lloyd Bayley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 08, 2004 5:54 AM
Subject: [PHP] Application-level variables


> 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. :-)
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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

Reply via email to