|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-23 03:42 UTC] sniper@php.net
[2003-04-28 11:17 UTC] sniper@php.net
[2003-07-16 03:35 UTC] jeff at deluxeportal dot com
[2003-08-24 17:09 UTC] dennis at conversis dot de
[2003-08-24 17:14 UTC] dennis at conversis dot de
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 10:00:01 2025 UTC |
I have a long running script with the following "core" set_time_limit(60000); ignore_user_abort(true); // also tried without ob_implicit_flush(); $query = mssql_query('SELECT lotsarows') or die('Error.'); while($row = mssql_fetch_array($query)) { //do things mssql_query('UPDATE onerow') or die('Error.'); //do things flush(); if(connection_aborted()) die(); } But it seems to not stop on user abort. (I can see the DB is being updated after pressing STOP in the browser) Using Apache2.0 on Win32 (Win2000) and PHP-4.3.2-RC1 This seems similiar to #2929 but doesn't depend on flush() presence...