URL file access in php
<p>I am trying to include my header,footer and sidebar files like this,</p>

<pre><code>include($str_url.'header.php');
include($str_url.'sidebar.php');
include($str_url.'footer.php');
</code></pre>

<p>i have defined <code>$str_url = "http://www.example.com/";</code> in my constant file,</p>

<p>But is not working in my server.
how can i fix it?</p>

<p>Please help me.</p>

<p>Thanks.</p>
