PHP-Code:
	
	
$location = "$absoluterPfad/$location_link";
    $verz = opendir("/".$location);
    while($folder = readdir($verz))
        {
          if($folder == "." or $folder == ".." or $folder == "Thumbs.db")
            {}
          else
            {
            $bilda[] = array($folder);
            }
        }
      $stellen = count($bilda);
      $vor_stelle = $stellen - 1;
      $nach_stelle = $stellen + 1;
      echo $bilda[2]; 
bei dem count sagt er mir das 6 einträge drin sind, das stimmt auch soweit.
Mfg Alex
 
          
Kommentar