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”

Artikel terkait:   PHP: Simple Contact Form with Archive Text

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

÷ one = five

This site uses Akismet to reduce spam. Learn how your comment data is processed.