I developed a PHP page with global variable like this;
global $amty_imgCache; $amty_imgCache = array(); $GLOBALS[\"amty_imgCache\"]=$amty_imgCache; >
global $amty_imgCache; $amty_imgCache = array(); $GLOBALS[\"amty_imgCache\"]=$amty_imgCache;
PHP doesn't have any application-level persistence. You might want to look at Memcache for the quickest solution (if you can install it, of course).