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 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