Example directory tree:
Now I have a template system located in the 'includes' folder, which uses the cURL function to grab the template in the root directory.
Now my question is, what file permissions are needed for this to function properly?
I'm guessing 755 minimum.
My problem is for some reason the server I'm currently working on is set up to have 644 for 'others'. I've tried to change it myself to 755 via Properties -> Security and FTP programs, but the server automatically resets the permissions back to 644 after any change.
Edit::
I've also tried changing it via chmod().
Code:
root
|-- images/
|-- includes/
|-- scripts/
|- index.php
|- index_template.html
Now I have a template system located in the 'includes' folder, which uses the cURL function to grab the template in the root directory.
Now my question is, what file permissions are needed for this to function properly?
I'm guessing 755 minimum.
My problem is for some reason the server I'm currently working on is set up to have 644 for 'others'. I've tried to change it myself to 755 via Properties -> Security and FTP programs, but the server automatically resets the permissions back to 644 after any change.
Edit::
I've also tried changing it via chmod().