Ok, so I am trying to use include_once and require_once....yay. Im not a n00b either btw....well...I also dont have all the functions down packed either ... w/e.
Anyways, I have a structure like this (which will not change).
/folder/for/config/config.php
/folder/modules/of/some/sort/index.php
/folder/index.php
Now, /folder/index.php can include /folder/config.php easily (I am not writing it out as this either:
include_once('/folder/for/config/config.php');
but rather like this
include_once('/for/config.php
Now I would like to have my /folder/modules/of/some/soft/index.php file include the config file in the same manner. I have tried
include_once('../../../for/config/config.php');
But that returns an error saying it can not find the file/folder.
Someone please help.