... Shared file in home directory How to set its permissions ...



• Shared file in home directory. How to set its permissions »»


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
 Bookmark with:            
Source: IrishWebMasterForums | pub: 24 Aug 2008 by: dude | added: 24 Aug 2008 | cat: Server Technical Administration Tips And Queries | views: 32 time/s
Related Articles...
Leave a Comment...
Name: *
Email: *
Comment: *
Security Code: security code
*
     Remember me:
Categories
Channels
Press Release