webForumDet fria alternativet

Finns detta script?

1 svar · 174 visningar · startad av P

PMedlem sedan jan. 20012 204 inlägg
#1

Jag undrar om det finns något script som kollar vad det finns för underkataloger i den katalog där scriptet finns?

------------------
/// P

nanneMedlem sedan dec. 19991 749 inlägg
#2
$d = dir("/etc");
echo "Handle: ".$d->handle."<br>\n";
echo "Path: ".$d->path."<br>\n";
while($entry=$d->read()) {
    echo $entry."<br>\n";
}
$d->close();

Typ...

Mer om funktionen: http://www.php.net/manual/en/class.dir.php

------------------

"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow

nanne.net

123 ms totalt · 3 externa anrop · v20260731065814-full.fb544a5a
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
121 ms — hämta tråd, inlägg och bilagor (db)