note 98010 deleted from function.ignore-user-abort by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.