【関数メモ】dirname
dirname
(PHP 4, PHP 5)
dirname ― パス中のディレクトリ名の部分を返す
よく使用する使い方
$path = dirname(FILE);
dirname
(PHP 4, PHP 5)
dirname ― パス中のディレクトリ名の部分を返す
よく使用する使い方
$path = dirname(FILE);
Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License