Re: what PHP really needs
| From: | Justin Patrin | Date: | Fri, 23 Jan 2004 22:58:22 +0000 |
| Subject: | Re: what PHP really needs | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175598@lists.php.net to get a copy of this message | ||
John W. Holmes wrote:
From: "Chris Boget" <chris@wild.net>Then you could use a serialized file in the filesystem that any app can read. For added speed, make a RAM-disk and store the file there. Slight overhead deserializing, but it's likely faster than recreating whatever it is (if it's large). -- paperCrane <Justin Patrin>case. He's talking about the same set of data being available to all instances of PHP, though. I think they're called Application Variables. So if I set $instance=1 as an application variable, any other PHP script that runs can read that value. I imagine the same thing could be done with an object. Either that or I'm way off base. It does sound useful, but I see how it could be overused and abused. ---John Holmes...Or sessions. Along with serialize() and deserialize(), all are your friends in this[snip] .... [/snip]Learn and use C++