note 98010 deleted from function.ignore-user-abort by danbrown
| From: | danbrown@php.net | Date: | Thu, 20 May 2010 15:43:15 +0000 |
| Subject: | note 98010 deleted from function.ignore-user-abort by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169455@lists.php.net to get a copy of this message | ||
Note Submitter: Marco
----
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;