Yritän listata kansiot opendir funktiolla.
Seuraavasti: $nim = opendir('.');
Myös toimii jos laitan pisteen tilalle polun ja alaspäin pääsen puussa mutten ylöspäin. ../ ei toimi.
Onko se jotenkin estetty palvelimella vai eikö se toimi muutenkaan?
Seuraavasti: $nim = opendir('.');
Myös toimii jos laitan pisteen tilalle polun ja alaspäin pääsen puussa mutten ylöspäin. ../ ei toimi.
Onko se jotenkin estetty palvelimella vai eikö se toimi muutenkaan?
Jos tuossa jotain estoja on niin se on sitten PHP:ssä, palvelimella ei mitään asetuksia ole joka tuon estäisi... tietysti edellyttäen että oikeudet on kunnossa.
http://fi.php.net/function.opendir
Lainaus
resource opendir ( string $path [, resource $context ] )
If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir() returns FALSE and generates a PHP error of level E_WARNING.
If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir() returns FALSE and generates a PHP error of level E_WARNING.

