I\'d like to find the base url of my application, so I can automatically reference other files in my application tree...
So given a file config.php in the base of my
I've never found a way to make it so.
I always end up setting a config variable with the server path to one level above web root. Then it's: