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
One solution would be to use relative paths for everything, that way it does not matter where the app is installed. For example, to get to your style sheet, use this:
../css/style.css