Set a directory path for my entire site
<p>On the website I'm administrating, I use several <code>include</code> and <code>require</code>. I would like to define the entire structure of the website in some config-file that is included on each page so I don't have to worry about paths any more and no matter where the file is located, <code>include('any_filename.php');</code> will always work.
I'd like to add that the site is on a shared host and I don't have full control of absolute paths or any .ini-file. The directory structure looks like this:</p>

<pre><code>myDomainName.com
|
+-public_html
  |
  +-pictures
  |
  +-include
  |
  +-templates
</code></pre>

<p>where myDomainName.com is as high as I can go.<br>
Or is there a smarter way to go?</p>
