Re: Global persistent variables
| From: | John Holmes | Date: | Tue, 10 Aug 2004 16:21:32 +0000 |
| Subject: | Re: Global persistent variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193308@lists.php.net to get a copy of this message | ||
Jean-Yves Jourdain wrote:
Is there a way to have global persistent variable with PHP? I would like to reproduce the use of the ASP <Application("name")= "value"> possibility. The variable "name" will be available to every users...No. If the values are read-only, you can use an .ini file and parse_ini_file(). If they are read/write, use a database... -- John Holmes php|architect - The magazine for PHP professionals - http://www.phparch.com