krolow/Attach — pull request #1 by boast (2012-01-27 12:06:50+00:00)
Title: There is a better way to get the file extension.

See: http://stackoverflow.com/questions/173868/how-to-extract-a-file-extension-in-php