It's always a good idea to use DIRECTORY() too. First to make sure that the directory "above" exists, and that the directory you are creating doesn't. Otherwise you'll need to trap for the possible error(s).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.