There are plenty of methods of getting the file extension from a file name in PHP, but if you’re looking for a pretty quick and...