How to get file extension using PHP by Anil Kumar Panigrahi