run PHP script in clean memory space
| From: | Honza Malik | Date: | Tue, 21 Oct 2003 00:48:09 +0000 |
| Subject: | run PHP script in clean memory space | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166920@lists.php.net to get a copy of this message | ||
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