John W. Holmes wrote:

From: "Chris Boget" <[EMAIL PROTECTED]>

[snip]
....
[/snip]

Learn and use C++

Or sessions. Along with serialize() and deserialize(), all are your friends in this

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...

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>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to