Re: run PHP script in clean memory space

From: Date: Tue, 21 Oct 2003 09:52:17 +0000
Subject: Re: run PHP script in clean memory space
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166923@lists.php.net to get a copy of this message
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 database password) or call our functions. Is there the possibility to run administrator's PHP code (from our PHP) in clean environment? Other solution? Thanks,
             Honza


« previous php.general (#166923) next »