mkdir and subfolders
<p>Hi i'm not able to test this on the server, but if folder date(Y) does not exist, is this coding write for it to be created. or do I have to do mkdir("/o_rec/" . date(Y) by itself first? Will supporting subfolders all be created if not present</p>

<pre><code>if(!is_dir("/o_rec/" . date(Y) . "/" . date(m) . "/" . $id)) {
     mkdir("/o_rec/" . date(Y) . "/" . date(m) . "/" . $id);
}
</code></pre>
