display files with php
$path = './';
$files = scandir($path);
$files = array_diff(scandir($path), array('.', '..'));
foreach($files as $file){
echo "<a href='$file'>$file</a>";
}foreach(glob('includes/*.php') as $file) {
...
}scandir ( string $directory [, int $sorting_order = SCANDIR_SORT_ASCENDING [, resource $context ]] ) : array
Also in PHP:
- create laravel project without template
- "array_key_exists(): + file array laravel
- api header php
- cakephp login session
- console log variable php
- descargar laravel
- cron.php
- .htaccess codeigniter
- exceptions (throwing | catching) in php
- am pm date format php
- check if some character exists in string php
- display errors html
- .length php
- error_reporting(e_all)
- condition for both of one should be true laravel eloquent
- command for create new project in larabve;l
- check substr in str php
- Jul 29th, 2020 php format
- date("n", $time)
- datetime(today, Mtime) php
- contains in php string
- admin and user login in php mysql
- composer create-project laravel/laravel 8
- codeigniter base url automatic