PHP: How to save a file in a directory that does not exist?
<p>How can I save a file in a directory that does not exist?</p>

<p>In other words, it would have to automatically create the directory/sub-directories (if it does not exist) and then save the file to it.</p>

<p>Thanks.</p>
