tree menue mit dir()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tree menue mit dir()

    Hi Leute ich bin gerade dabei ein dynamisches Tree menue zuerzeugen.
    ich habe folgendes versucht:

    <?php
    $dir = '/tmp';
    $files1 = scandir($dir);
    $files2 = scandir($dir, 1);

    print_r($files1);
    print_r($files2);
    ?>

    in dem ordner tmp sind 3 datein enthalten, erzeigt aber nur eine weiße seite. was habe ich flsch gemacht

    vielen dank

  • #2
    das verzeichnis tmp ist nicht in / ?
    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


    Comment


    • #3
      das verzeichnis tmp ist nicht in / ?
      sorry das hab ich nicht verstanden

      Comment


      • #4
        Returns an array of filenames on success, or FALSE on failure. If directory is not a directory, then boolean FALSE is returned, and an error of level E_WARNING is generated.
        Die Zeit hat ihre Kinder längst gefressen

        Comment

        Working...
        X