scandir
is_dir() fails while scanning a directory in php
I\'m trying to build a <ul> list with a <li> for each directory in a main folder. here\'s my code :[详细]
2023-03-28 00:20 分类:问答Php scandir() problems
I was wondering, my Scandir() function works on a php $_GET variable, so the variable returns the folder, but I\'m having a problem because I\'m not sure how to echo out an error if there is a problem[详细]
2023-03-27 11:13 分类:问答PHP most efficient way to list the files in a very large directory [duplicate]
This question already has answers here: Closed 11 years ago. 开发者_如何学GoPossible Duplicates: Get the Files inside a directory[详细]
2023-02-20 13:12 分类:问答How to sort files in some directory by the names on Linux
I use opendir() and readdir() to display the file names in a directory. 开发者_StackOverflow社区But they are disordered. How can I sort them? The language is C.Maybe you could use scandir() instead of[详细]
2023-02-13 07:30 分类:问答Is it possible to use relative paths with PHP scandir and does authentication affect scandir?
I have an authenticated directory in my site that has a bunch of directories of photos in it. If you log in you can access these photos.[详细]
2023-02-04 01:56 分类:问答PHP scandir results: sort by folder-file, then alphabetically
PHP manual for scandir: By default, the sorted order is alphabetical in ascending order. I\'m building a file browser (in Windows), so I want the addresses to be returned sorted by folder/file, then[详细]
2023-01-28 16:54 分类:问答Scandir Never Returns
I am developing using a Windows 7 machine with the local server being UniServer. I have some PHP code to include all php files in a directory.[详细]
2023-01-16 16:28 分类:问答using PHP.scandir() to scan files and then require_once them
this is my third question so far on stackoverflow :D i am defining files and their location on my first_run.php files,[详细]
2023-01-15 06:41 分类:问答PHP: Using scandir(), folders are treated as files
Using PHP 5.3.3 (stable) on Linux CentOS 5.5. Here\'s my folder structur开发者_Go百科e: www/myFolder/[详细]
2023-01-09 10:19 分类:问答Encoding problem with preg_replace() and scandir()
On OS-X (PHP5.2.11) I have a file: siësta.doc (and thousand other with Unicode filenames) and I want to convert the file names to a web-consumable format (a-zA-Z0-9.). If I hardcode the file name abo[详细]
2022-12-22 19:25 分类:问答