note 33731 added to function.flock

From: Date: Sat, 05 Jul 2003 17:22:34 +0000
Subject: note 33731 added to function.flock
Groups: php.notes 
Request: Send a blank email to php-notes+get-51558@lists.php.net to get a copy of this message
To solve most of the "PHP quit writing my file and messed it up" problems just add: ignore_user_abort(true); before fopen and: ignore_user_abort(false); after fclose, now that was easy. ---- Manual Page -- http://www.php.net/manual/en/function.flock.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33731 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33731&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33731&report=yes

« previous php.notes (#51558) next »