All Scandir related Questions

by jaydeep | 28/08/17 | 1 Answers | Tags : PHP , scandir Views : 1425
how scandir work in php ? i researched that scandir will List files and directories inside the specified path but dont know how to use scandir in php ?

Read more

by chirag | 21/12/16 | 1 Answers | Tags : PHP , scandir , file-system Views : 747
want to get all executable file at provided directory in php. using PHP for some local system. where i want to keep track of all files for particular directory. so if i provide directory path than it should be give how many number of file is executable on that directory . so i start to write code with count function give me count of all files not only count of executable files, so scandir not really scan the directory . suppose is that possible i can put scandir(".exe,.sh") something like that so it can give me scanned result where only provided extension's file contained in list or scandir("executable") give me only executable files . is that possible to use scandir like this? or any other solution to get executable files for given directory ? testing with wamp .

Read more

by noob | 20/12/16 | 4 Answers | Tags : PHP , scandir , directory , listing , grid Views : 7965
give me all list of files and directory for given path i need only directory of given path not files. i dont need . or .. or files , only directories. so suggest me any direct function in PHP which give me list of only directories not files in given path. how to list all directory of given path in PHP ?

Read more