how to make directory through php?
<p>I am trying to create a directory in php, but it not works.</p>

<p>the code is</p>

<pre><code>&lt;?php
$dirPath = "images/new_images";
$result = mkdir($dirPath, 0755);
if ($result == 1) {
    echo $dirPath . " has been created"; } else {
    echo $dirPath . " has NOT been created"; } ?&gt;
</code></pre>

<p>please help me to create directory in php.</p>
