Get File Extension

Get File Extension is widely used functions and creating shortcode could be real handy :-

 /**
     * Get file extension.
     *
     * @param string $filename File path
     *
     * @return string file extension
     */
    function getFileExtension($filename)
    {
        return pathinfo($filename, PATHINFO_EXTENSION);
    }

Loading ...

Related Results :

  1. Get File Extension
Note :
  • Related Posts are generally User Blog posts.
  • or Other tutorials from other networks of w3clan.com.
  • Any registered user can create related posts based on search term tags.

About the Author