Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 PHP 创建带有图像名称第一个字符的文件夹。我有简单的上传表格,请帮我创建操作页面。
谢谢。
$image_name = "test.jpg"; $first_char = substr($image_name, 0, 1); mkdir($first_char);
substr() mkdir()