处理文件 / 基本操作

<?php

$path = getcwd() . "/tmp/data/images";

if (!mkdir($path, 0777true)) {
    echo "Failed to create directories";
}