polidog lab
ArchivesSlidesTagsAboutContactGitHub
ArchivesSlidesTagsAboutContact
2007.04.19

【関数メモ】dirname

#dirname#php#php関数

dirname

(PHP 4, PHP 5)

dirname ― パス中のディレクトリ名の部分を返す

よく使用する使い方

$path = dirname(FILE);

カテゴリ

#tech
この記事を X で共有 →
前の記事世間は意外と狭いものです次の記事blogの移行
AboutTagsContactRSS

© 2026 polidog lab

polidog lab

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License