I have a global.php file in my /inc directory that I want to include in a file.
In my normal directory I can just do a:
include ("inc/global.php")
However the script I want to use global.php in is /welcome/welcome.php
What do I need to put in the include line to step up one directory, then go down into the /inc directory?
I can't use the full path to the file because I want to be able to have the files work on any server regardless of the path, as long as it has the proper directory listening.
Thanks in advance for any help.