On Wed, 23 Jun 2004 16:30:59 -0400, Geethanandh Kandasamy <[EMAIL PROTECTED]> wrote: > > while(($theFile = readdir($theDir)) !== FALSE){ > > != not !== >
!== is correct, check the manual. If you had a directory named 0, != false would be false. -- paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php