filename of the currently executing script php code example Example: php current file name basename(__FILE__, '.php');