note 22049 deleted from function.readdir by dams

From: Date: Tue, 04 Jun 2002 21:43:52 +0000
Subject: note 22049 deleted from function.readdir by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-31461@lists.php.net to get a copy of this message
Why is everyone testing: if ($file != "." || $file != "..") when you can write if ($file[0] != ".") Is there any reason I haven't got yet?

« previous php.notes (#31461) next »