Answers for "get file extension in php from file name"

PHP
16

php get file extension from filename

$ext = pathinfo($filename, PATHINFO_EXTENSION);
Posted by: Guest on October-26-2020
0

php get filename without extension

pathinfo($path, PATHINFO_FILENAME);
Posted by: Guest on January-10-2022

Code answers related to "get file extension in php from file name"

Browse Popular Code Answers by Language