||Working with Files in PHP, Part 3|
|Subject:||line !== 'false'|
The article states that you need to use the !== comparison operator:
"Without this type of comparison, the while loop would end prematurely if a directory (or filename) existed with the name of false"
Showing messages 1 through 1 of 1.