php get current files in folder code example Example: php current file name basename(__FILE__, '.php');