Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php get latest file in directory
Jacob
Programming language:
PHP
2021-04-26 22:54:11
0
Q:
php get latest file in directory
Vaibhav k.
Code:
PHP
2021-06-10 19:31:18
$files = scandir('data', SCANDIR_SORT_DESCENDING); $newest_file = $files[0];
0
Tags
get
file
php
php get
Related
php get file extension
php list all files in directory
php file get contents post
php get current url without filename
searching inside a file using php
how to know the path of php in linux
php count number of files in directory
php get filename without extension
file path exttension in php
read info pfx file php
php get file location
php get file extension from filename
php list output images in a directory
list all files in directory php
php get file contents
php get all php files in a directory
php current file name
php get php.ini location from termina
php get version
New to Communities?
Join the community