PHP : PHP auto load variable on each page
<p>I have a constant   </p>

<p>like <code>define('SITE_URL','http://somewebsite.com');</code></p>

<p>I am using it on some pages </p>

<p>Some time also changing the value of that variable so that it is a pathetic task to go on each page and change the variable value .</p>

<p>Please suggest me some alternative  like some automatic class loader or any other method  . </p>

<p>Since it is my first PHP web so I am unable to decide what to do here ?</p>
