Expalanation for errors in the below code
<pre><code>if(!is_dir($dir_path))
    {
        $mk_dir=mkdir($dir_path, 0777);
        $ch_mod=chmod($dir_path, 0777);
    }
</code></pre>

<p>In the above code I am getting errors like below:</p>

<p>Warning: mkdir() [function.mkdir0]: No such file or directory in E:\salaahakardb\New Folder\xampp\htdocs\extramarks2\jnrcontent\fillblanks\form_vars.php on line 66</p>

<p>Warning: chmod() [function.chmod0]: No such file or directory in E:\salaahakardb\New Folder\xampp\htdocs\extramarks2\jnrcontent\fillblanks\form_vars.php on line 67</p>

<p>Please explain</p>
