Jump to content

[SOLVED] setting file permissions on server


clearmedia

Recommended Posts

All good! I realised I just needed to store the files outside of the _root directory and then access them with

 

readfile($_SERVER['DOCUMENT_ROOT']."../textFiles/sometextfile.txt", 4096);

 

hope this may help someone else though!

 

thanks anyway

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.