SITE_ROOT = URL + Variable?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7563220/site-root-variable">SITE_ROOT = Variable?</a>  </p>
</blockquote>



<p>How can I get this:</p>

<pre><code>define ('SITE_ROOT', $_SERVER['DOCUMENT_ROOT'] . SITE_BASE);
</code></pre>

<p>to look something like this:</p>

<pre><code>define ('SITE_ROOT', [variable from domain.com/dir/data.php] );
</code></pre>

<p>I'd very much appreciate if someone could help me with a solution.</p>

<p>Many thanks.</p>
