$_FILES PHP list
$path = './';
$files = scandir($path);
$files = array_diff(scandir($path), array('.', '..'));
foreach($files as $file){
echo "<a href='$file'>$file</a>";
}// Shows us all files and directories in directory except "." and "..".
foreach (new DirectoryIterator('../moodle') as $fileInfo) {
if($fileInfo->isDot()) continue;
echo $fileInfo->getFilename() . "<br>\n";
}
Also in PHP:
- Who is known as the father of PHP?
- disable login route auth laraevl
- Allowed memory size of 1610612736 b
- base64 dencode GET variables in PHP
- check if character is in string php
- Syntax error or access violation: 1071 Specified key was too long; max key lengt
- error reporting off
- array_key_exists() WORDPRESS
- check of string is present in string using php
- clear laravel storage cache
- $_SERVER php where link came from
- @lang laravel blade
- check if contains substring php
- check if string exists in string php
- create symfony project
- Class 'App\Http\Controllers\Admin\Route' not found
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 157 bytes) in C:\wamp64\scripts\refresh.php on line 2263
- curl php
- do_shortcode not working
- data type php get
- call other seeder class laravel
- date and tome php
- curend date phph
- Impossible de trouver le paquet php-gettext