Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Get File Extension PHP

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