note 98010 added to function.ignore-user-abort
| From: | Marco at osu1 dot php dot net | Date: | Thu, 20 May 2010 13:43:13 +0000 |
| Subject: | note 98010 added to function.ignore-user-abort | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169448@lists.php.net to get a copy of this message | ||
Anonymous' code:
if (file_exists(dirname(__FILE__)."stop.txt")) break;
will not break the loop even if the file "stop.txt" exists, as there is a slash missing.
The correct code should be:
if (file_exists(dirname(__FILE__)."/stop.txt")) break;
----
Server IP: 212.124.37.9
Probable Submitter: 88.79.134.156
----
Manual Page -- http://www.php.net/manual/en/function.ignore-user-abort.php
Edit -- https://master.php.net/note/edit/98010
Del: integrated -- https://master.php.net/note/delete/98010/integrated
Del: useless -- https://master.php.net/note/delete/98010/useless
Del: bad code -- https://master.php.net/note/delete/98010/bad+code
Del: spam -- https://master.php.net/note/delete/98010/spam
Del: non-english -- https://master.php.net/note/delete/98010/non-english
Del: in docs -- https://master.php.net/note/delete/98010/in+docs
Del: other reasons-- https://master.php.net/note/delete/98010
Reject -- https://master.php.net/note/reject/98010
Search -- https://master.php.net/manage/user-notes.php