I have a constant
like define('SITE_URL','http://somewebsite.com');
I am using it on some pages
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 .
Please suggest me some alternative like some automatic class loader or any other method .
Since it is my first PHP web so I am unable to decide what to do here ?