Application data persistence in PHP
Posted: Mon Mar 24, 2003 12:24 pm
Hi,
Hope this question doesn't sound too dumb -- I'm a JSP programmer who's really new in PHP and I'm looking to do something that I'm able to do in JSP/Servlets but can't seem to find the equivalent in PHP. I want to be able to load up data into memory and persist it throughout the lifecycle of the PHP application. I want to do this so in order to keep certain data in memory that I usually will load only once and will change very infrequently.
I've been looking into global variables but that doesn't look too promising. Am I missing something important here? I'm really new in PHP.
Thanks.
Hope this question doesn't sound too dumb -- I'm a JSP programmer who's really new in PHP and I'm looking to do something that I'm able to do in JSP/Servlets but can't seem to find the equivalent in PHP. I want to be able to load up data into memory and persist it throughout the lifecycle of the PHP application. I want to do this so in order to keep certain data in memory that I usually will load only once and will change very infrequently.
I've been looking into global variables but that doesn't look too promising. Am I missing something important here? I'm really new in PHP.
Thanks.