php get folder of current file code example
Example 1: php current file name
basename(__FILE__, '.php');
Example 2: php get size of file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
basename(__FILE__, '.php');
$fileSizeInBytes=filesize("/path/to/myfile.txt");