Simple!
$images = glob('/folder/*.{jpg,jpeg,gif,png}', GLOB_BRACE);
Continue reading Scan a directory and retrieve images with PHP
Simple!
$images = glob('/folder/*.{jpg,jpeg,gif,png}', GLOB_BRACE);
Continue reading Scan a directory and retrieve images with PHP
I usually need to create Linux users for FTP access…
FTP is unsecure, we should use sftp bla bla blaa…
useradd username
passwd username
usermod -m -d /new/path/ username
This way we will set the new path (/new/path/) to the user named username.
-m defines that content from the old home directory will be mobed to the new one.
-d the new home dir’s path
finger username
Our clear and simple installation instructions will help you get up and running with Directory Lister in minutes.
Upload files to any web-accessible directory and Direcectory Lister will generate listings for you on-the-fly.
Theme support is built in to fit your uniqe style. Control your listing with custom sort ordering of files/folders.
Don’t want to share everything with the world? Easily define hidden files to be excluded from your listings.