[ic] Re: PHP Pages In Memory

Toni Mueller interchange-users@icdevgroup.org
Sat Oct 19 11:45:02 2002


Hi,

On Fri, Aug 23, 2002 at 08:08:25AM -0400, Victor Nolton wrote:
> ConfigDir cachedfiles
> Variable      TOP   < top.html
> 
> calling it on any page with a __TOP__ etc (yeah I know basic stuff).

> What I want to know is, how do you do this in PHP. I want to mimic 
> what Interchange does. Take a page and store it in ram and call it in 
> a page.

you should be able to use a PHP session, in PHP4 at least.

Related is the question on how to specify the variable value to be
the output of running a command, eg. wget, and then use that
output in Interchange as described above?


Best,
--Toni++