$DIR="http://mindworks.co.in/tempserv/sindhibschool/"; //$DIR="http://sindhibschool.com/"; if($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']=="webserver" || $_SERVER['HTTP_HOST']=="webserver") { $DIR="http://webserver/sindhibschool/public_new/"; } ?>