ID: 44093 Updated by: [EMAIL PROTECTED] Reported By: max at tehnomir dot com dot ua -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Linux 2.6.20.2 PHP Version: 5.2.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2008-02-10 19:57:36] max at tehnomir dot com dot ua Description: ------------ Hello ! ignore_user_abort( false ) sometimes do not work ! In this example when I press STOP button in my browser script does not stop. It runs till max_execution_time is reached. Server: 1.3.39. Reproduce code: --------------- <? ignore_user_abort( false ); $fp = fopen('testfile.txt', 'w'); while (true) { echo date('d.m.Y H:i')."<br>"; flush(); fwrite($fp, date('d.m.Y H:i:s')."\n"); sleep( 1 ); } fclose( $fp ); ?> Expected result: ---------------- Script must stop execution. Actual result: -------------- Script runs till max_execution_time is reached. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44093&edit=1