php doesn't have application variables as such, however there are a couple options for implementing them...
1. have a single file with your "application variables" and manually include that in all files of the project 2. use the session_*() functions to "keep the vars alive" on pages 3. as you said, store to db and update once in a while (or a combination of these... i.e. 3 + 2, load from db, carry around in session and then save to db again) HTH beau // -----Original Message----- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] // Sent: Sunday, 28 October 2001 3:15 AM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] Application variables // // // Pls tell me how to implement application variables in PHP // like they are supported // in ASP else i might have to have the value stored in the // database and update // every now and then which is simply an overhead. // // -- // PHP Database Mailing List (http://www.php.net/) // To unsubscribe, e-mail: [EMAIL PROTECTED] // For additional commands, e-mail: [EMAIL PROTECTED] // To contact the list administrators, e-mail: // [EMAIL PROTECTED] // -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]