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 :: get am pm 12 hour timee laravel 
Php :: laravel route logout 
Php :: db raw update laravel 
Php :: log data into file php 
Php :: laravel deploy without moving public directory 
Php :: php info 
Php :: start someones laravel project 
Php :: laravel drop table column 
Php :: laravel get timezone from ip address 
Php :: csrf token mismatch laravel 
Php :: laravel run migration specific file 
Php :: search post by post title in wordpres 
Php :: brew downgrade php 8 to 7.4 
Php :: install php 7.3 ubuntu 
Php :: get ip address in laravel 
Php :: php flatten multidimensional array 
Php :: 2 decimal round using php 
Php :: applying multiple order by in codeigniter 
Php :: Sending Data over another website via PHP 
Php :: laravel multiple orderby 
Php :: php regex string contains coringa 
Php :: how to install php dependencies 
Php :: create livewire component 
Php :: check number is positive or negative in php 
Php :: laravel forcefill 
Php :: paystack gateway integration laravel 
Php :: convert any phone number in us number format php 
Php :: php save array in mysql database 
Php :: create storage link laravel without terminal server 
Php :: pdo php search table 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =