Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php directory listing

if ($handle = opendir('.')) {

    while (false !== ($entry = readdir($handle))) {

        if ($entry != "." && $entry != "..") {

            echo "$entry
";
        }
    }

    closedir($handle);
}
Comment

php list directories

$dir = '.';
$directories = glob($dir . '/*', GLOB_ONLYDIR);
Comment

PREVIOUS NEXT
Code Example
Php :: php string starts with 
Php :: php check internet connection 
Php :: function that checks number only in php 
Php :: php post curl json 
Php :: php merge 2 arrays 
Php :: delete record php mysqli 
Php :: how change the languge of fie manager in laravel 
Php :: PHP Fatal error: Constructor test::test() cannot declare a return type in /home/iBMCb9/prog.php on line 6 
Php :: how to add cutom menu option in wordpress 
Php :: php remove query param from url 
Php :: erd in phpmyadmin 
Php :: php get intersection of arrays 
Php :: laravel export make comman 
Php :: laravel optimize 
Php :: php Error!: could not find driver 
Php :: laravel force user logout 
Php :: make pagination wordpress admin panel 
Php :: create variable in laravel blade 
Php :: view pdf file in a new tab in php 
Php :: DB::beginTransaction() 
Php :: php convert number to month 
Php :: access config variable in codeigniter controller 
Php :: php is day light saving time 
Php :: php read json request body 
Php :: php translate url wpml 
Php :: artisan cache clear 
Php :: limit offset array php 
Php :: Get color code from string 
Php :: laravel meta csrf 
Php :: laravel send ajax 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =