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.
mkdir () を使用して PHP でディレクトリを作成しようとしています。それは動作しますが、PHP は名前の最後に乱数を入れます:
mkdir (testdir);
ディレクトリ testdir511 を作成します。これを修正する方法はありますか?
.引数を区切るときに、コンマの代わりに (連結のもの) を使用した可能性があります。
.
$ php <?php mkdir("test" . 655); // should be mkdir("test", 655); ?> $ ls test655/