Hi!
I'm running PHP 4 on Linux, and I'm trying to perform parts of a script AFTER the page is closed: EG:
<?
echo "thanks for your assistance!";
// Close HTTP connection to client
// dump stuff to database
?>
sort of like die() only the script keeps on executing.
The only method that I've come across that MIGHT do this is to use the backtick operator and the '&' switch at the end of the command line. This is rather ugly and requires a system fork (and a hit in performance)
I understand that you can tell PHP to ignore user abort, can WE make the script 'abort' (to the user) and then keep going?
-Ben