On Wed, 2006-08-02 at 12:26 -0700, Khai wrote: > Is it possible to override the core built-in function exit() in PHP. If > so, how can I call the the built-in exit() from within my function? No, but the following might help you: http://www.php.net/register_shutdown_function Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php