I have an problem and hope you can give me a hint for that:
I have an XAMPP running under OSx. My APP is in htdocs/app.
Inside /app there is a folder /scripts and there is my PHP File: app/scripts/file.php
Inside the /app folder there is a second folder /stuff that have 777 permissions.
from the script in app/scripts/file.php I want to create a folder in app/stuff
But I got permission denied when I try to create a folder like:
mkdir('../scripts/newfolder', 0777, true);
What do I have to do?
Note: When I test like this: mkdir('newfolder', 0777, true); Then it will work, but the new folder is under the wrong location: app/scripts/newfolder