This is a discussion on Shared file in /home directory. How to set its permissions? within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Hello I hope someone can help me with this. I am creating a number of websites which will use a ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello I hope someone can help me with this. I am creating a number of websites which will use a shared script, i.e. a PHP script containing a number of shared functions. I am thinking of putting this shared script in /home. Does anyone know how I can make this script accessible by all the different websites? For example, in each website's index.php page I can include "include $DOCUMENT_ROOT/../../shared_script.php". What permissions do I need to set on /home/shared_script.php to get this to work? Thanks |
| |||||
| I think chmodding it to 644 should do the trick ?
__________________ Forbairt Media | Web Design Dublin, Ireland - Web Development Dublin, Ireland Recent Work: Safari Club African Safari Holiday - South Africa Holiday Safaris Other Stuff: FluffyLinkulator Rapid Inclusion Service Tool |
| Tags |
| directory, file, or home, permissions, set, shared |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| | ![]() | |||
| | ||||