Verzeichnis einlesen php
<?php
// Der Punkt steht für das Verzeichnis, in der auch dieses
// PHP-Programm gespeichert ist
$verzeichnis = ".";
echo "<ol>";
// Test, ob es sich um ein Verzeichnis handelt
if ( is_dir ( $verzeichnis ))
{
// öffnen des Verzeichnisses
if ( $handle = opendir($verzeichnis) )
{
// einlesen der Verzeichnisses
while (($file = readdir($handle)) !== false)
{
echo "<li>Dateiname: ";
echo $file;
echo "<ul><li>Dateityp: ";
echo filetype( $file );
echo "</li></ul>\n";
}
closedir($handle);
}
}
echo "</ol>";
?>
Also in PHP:
- error_reporting php debug
- close laravel register route
- !php.net date
- convert date object to string php
- category_rewrite_rules wordpress.org
- creat folder in php
- check if string contains a string php
- cakephp find_in_set
- convert string to lowercase in php
- catch exception in php
- array_reverse in php example
- ::create laravel
- PHP Encode image in Base64
- errors throwing in php
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 byte
- check if key array php
- composer laravel install
- dompdf/dompdf v1.0.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- check if string contain word
- check for character in string php
- find or fail laravel
- Clear and delete the folder after the time specified in php
- Laravel Google Line Chart
- change execution time php