php “glob” and data-deduplication?

前端 未结 4 2262
无人及你
无人及你 2021-02-12 17:45

I have a php-application which is (per request) scanning for the existance of some files. (on a network share)

I\'m using glob for this, cause usually i jus

4条回答
  •  逝去的感伤
    2021-02-12 18:09

    I'm not sure if this is what you're looking for but i use scandir() to list all the files in a directory, then you can excecute any command on them once you know the name. It will work on open files as well

    PHP scandir documentation source

提交回复
热议问题