I apologize if this question has been asked an answered before, but I've been searching for an answer all morning, and I've had no luck.
I'm wondering if there's anything in PHP that works the same way as application variables in ASP. In other words, I'd like to be able to cache a variable that all my scripts could use for a set period of time. That way, I can take a snapshot of a database recordset and store it in memory so as to reduce trips to the database server.
Any thoughts?
Lucas Alexander
http://www.alexanderdevelopment.net