Re: [PHP] run PHP script in clean memory space

2003-10-21 Thread Eugene Lee
On Tue, Oct 21, 2003 at 02:48:09AM +0200, Honza Malik wrote: : : I want to give administrators of our CMS the possibility to use PHP commands : in HTML templates. Templates are parsed by our PHP script. : : The problem is, that I don't want administrators to be able to list our : $GLOBALS (where

Re: [PHP] run PHP script in clean memory space

2003-10-21 Thread Marek Kilimajer
The only way I can see is exec('php ...'); Honza Malik wrote: Hi, I want to give administrators of our CMS the possibility to use PHP commands in HTML templates. Templates are parsed by our PHP script. The problem is, that I don't want administrators to be able to list our $GLOBALS (where is data

[PHP] run PHP script in clean memory space

2003-10-21 Thread Honza Malik
Hi, I want to give administrators of our CMS the possibility to use PHP commands in HTML templates. Templates are parsed by our PHP script. The problem is, that I don't want administrators to be able to list our $GLOBALS (where is database password) or call our functions. Is there the possibility