note 13413 rejected from function.readdir by sander
| From: | sander@php.net | Date: | Sat, 06 Apr 2002 19:15:44 +0000 |
| Subject: | note 13413 rejected from function.readdir by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28753@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]!=".."))
{...