Ravi wrote:
Richard, unfortunately I cannot end the script. I need something like this: <?php header('Location: http://www.yahoo.com'); // somehow let the browser move to yahoo.com // now update the database to store some information about user exit; ?>
In that case you might want to look at register_shutdown_function(). Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php