Posted inUncategorized Get extension of filename in php by SuryaJuly 26, 20100 $path_info = pathinfo(‘lib.inc.php’); echo $path_info[‘extension’]; Surya More by Surya