Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Get File Extension PHP

//Get File Extension
function getFileExtension($fileName)
{
    return '.' . strtolower(pathinfo($fileName, PATHINFO_EXTENSION));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Get #File #Extension #PHP
ADD COMMENT
Topic
Name
3+8 =