ID: 29846 Comment by: misterffoeg at hotmail dot com Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Irrelevant PHP Version: 5.0.1 New Comment:
I have a lot of applications written that execute background operations in an iframe with a script that has ignore_user_abort(), but this is not really a nice way to do this. I'd really like to see this come into the PHP 6 final release as well :) Previous Comments: ------------------------------------------------------------------------ [2007-02-16 23:54:20] duerra at yahoo dot com I am definitely looking for the pre PHP 4.1 functionality of the register_shutdown_function() to be reintroduced, even if in a different form. One possibility would be to include a standard function to the effect of close_remote_connection(); which would then allow the script to continue executing, while flushing any remaining data to the user's browser and closing the connection. This functionality has any number of useful purposes, where (potentially time consuming) processing may need to be continued, but where it is not relevant to any data being output to the end user. They should not need to wait around for the processing to finish, and other workarounds and hacks to accomplishing this are inconvenient or not always very practical. Please, please reintroduce some functionality to allow for this type of purpose! ------------------------------------------------------------------------ [2004-08-27 11:24:27] [EMAIL PROTECTED] There is a patch for similar function by Joseph Tate at http://marc.theaimsgroup.com/?l=php-dev&m=104092438811407&w=2 ------------------------------------------------------------------------ [2004-08-27 00:06:04] [EMAIL PROTECTED] See also bug #15209 ------------------------------------------------------------------------ [2004-08-26 11:51:31] [EMAIL PROTECTED] Description: ------------ Introduce function to force PHP to close the output stream so slower non user related functions can be executed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29846&edit=1