List all folder in pHP
$path = './';
$files = scandir($path);
$files = array_diff(scandir($path), array('.', '..'));
foreach($files as $file){
echo "<a href='$file'>$file</a>";
}scandir ( string $directory [, int $sorting_order = SCANDIR_SORT_ASCENDING [, resource $context ]] ) : array$dir = '.';
$directories = glob($dir . '/*', GLOB_ONLYDIR);
Also in PHP:
- count characters string php
- create a user using factory laravel
- convert html to pdf php
- add more data to variable php
- add user role to wp admin page css
- convert any uppercase to capitalize in php
- array filter php get first object
- <?php echo Date(Y); ?>
- delete all post and attachments of a user delete codegrapper
- create project via composer
- 20210329 to date format php
- date("Y")
- alias migratedb='php artisan migrate'
- base64 php
- clear cache locally laravel
- Laravel Blade Foreach If Empty or Not
- carbon laravel use
- Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
- create folder php en linux centos 7
- exit try php
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in \xampp\htdocs\
- clean function in php
- current time not current date php
- arry reverse in php