PHP PHP ファイルパスに関して ファイルパスを分解して使用したい場合 <?php $file = "/hoge/aaaaa/index.php"; // 親ディレクトリのパスの抽出 ”/hoge/aaaaa” $dirName = ... 2018.05.07 PHP