Re: Are application wide variables possible with PHP4?
| From: | Andreas Karajannis | Date: | Thu, 02 Mar 2000 11:40:35 +0000 |
| Subject: | Re: Are application wide variables possible with PHP4? | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11326@lists.php.net to get a copy of this message | ||
Marc Aßmann wrote:
>
> I would like to have a possibility in saving variables that persist through
> the whole runtime of the server,
> like it can be done in ColdFusion.
>
> Everyone I asked before just said "no, it´s not possible, you have to save
> them in files or in a database
> and initialize them everytime a script is called".
>
Use the functions provided by the sysvshm and sysvsem modules for this.
Look in the manual for further information.
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948