How To Remove extension from a filename with PHP -
There will be plenty of other ways to do this, and some may be faster. In a lot of cases, the speed probably doesn't really matter that much, the purpose of this post was to show a few ways to remove the extension from the filename with PHP.
Linesh Jose