note 13413 added to function.readdir.php

From: Date: Fri, 15 Jun 2001 15:14:29 +0000
Subject: note 13413 added to function.readdir.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14323@lists.php.net to get a copy of this message
Hi folks! I read the dirs...and it works in one folder...and in the other it shows only the files which I have had in this folder before I have written this php-file:-((((... Is this an window2000 prob??or what is wrong? THXXXX a lot Katinka p.s.:the script hmmm... $lokal=getcwd(); $handle1=opendir ($lokal); while ($file = readdir($handle1)) {$inhalt[]=$file;} closedir($handle1); for ($x=0;$x<count($inhalt);$x++) { $folder= is_dir($lokal."\\".$inhalt[$x]); if (($folder==TRUE)&& ($inhalt[$x]!="." && $inhalt[$x]!="..")) {... http://www.php.net/manual/de/function.readdir.php

« previous php.notes (#14323) next »