Questions tagged [readdir]

The C, Perl or PHP library function for reading from an open directory.

The readdir C library function reads and returns the next entry, as a struct dirent *, from an open DIR *. You should open the directory using opendir first. This can also refer to the Perl or PHP functions with the same purpose.

Links:

301 questions
-3
votes
1 answer

Read Dir PHP class - only 1 file by return

I´m trying to write and use php classes. This is my class: class UseDir { public $varReadFilesFromDir; public function readDir(){ if (is_dir($this->varReadFilesFromDir)) { if ($dirHandler =…
ebody
  • 33
  • 2
  • 9
1 2 3
20
21