In PHP, is there anyway to set application wide variables? That is, a variable that is global throughout all pages within a given application. Something similar to APPLICATION.variableName in Cold Fusion.
Thanks for your help!
I don't believe that PHP has any built-in support for variables to be available on a CF equivalent application scope. There is support for session scope variables. Application scope variable functionality could however be acheived via code. Have a database that holds the application variables and your app can query this db to get these values.