hey all,
In my include directory i have a file called init.php, which has this line:
require ('/etc/config.inc');
I use init.php to require all my common files like database.php, browser.php and others, the config file holds the passwords and common site paths which i globalize, much like how sourceforge works.
i'm getting this message:
Fatal error: Failed opening required '/etc/config.inc'
if i change it to: '../etc/config.inc' it will work but only for for files in my www root, otherwise i'll get the error again, whats the solution????