Two very simple methods for getting to know which is the file extension of the file, using two very simple PHP functions. 1. Method: function end The end function finds the last member of an array. So if we want to get the file extension, we will first explode our filename...