Files functions

  • file_extension($filename)

This function is used to return the file extension.

Parameters:

      -  
$filename (mandatory):the file name including the extension.

Example:

PHP :
{* php buffer start *}  
{* php buffer end *}

Was this answer helpful? 1 Users Found This Useful (1 Votes)