I am unable to make a new directory in an existing directory that is one level up from where my script is located. Here's my folder structure:
I've tried using chdir("../clients") prior to running mkdir("./newfolder") but I get some strange error. Is that even how I should do this?Code:html > api > script.php > clients > [WHERE I WANT TO CREATE A FOLDER]
Racking my brain on this one...
Thanks everyone.


Reply With Quote

Bookmarks