__file__

PHP: __FILE__

Exact meaning of basename(dirname(__FILE__)) in PHP __FILE__ would give something like: “/home/httpd/html/modules/Your_Account/index.php” dirname(__FILE__) gives “/home/httpd/html/modules/Your_Account” basename(dirname(__FILE__)) gives “Your_Account”

Scroll to Top