[snip]
In my case, I've created a function called mkdirs that recursively
checks and does a mkdir on a given path.  So, if any of the folders in a
given path don't exist, then they will get created.  I include this at
the top via "include('func/mkdirs.php');".  I've used this mkdirs
function in other scripts, and I know it's working fine. 
[/snip]
 
Then try doing it outside of the function (directly) to see if you spot
any problems

Reply via email to