Is is possible to have some kind of function like eval that runs in a restricted mode, like safe mode? I'd like to be able to allow users to create little macro scripts for events I store in a database, but I'd also like to limit what those scripts can do without restricting my regular PHP code. Any thoughts? Thanks, Chris Newbill OneWest.net Inc., Programmer/Analyst 406.449.8056 [EMAIL PROTECTED] /* Windows crashed. I am the Blue Screen of Death. No one hears your screams. */ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]