if(ereg("capital3",$_SERVER[HTTP_HOST])){ header("Location: site/"); } if(ereg("largo.ca",$_SERVER[HTTP_HOST])){ header("Location: http://www.largocapital.com/ns/canada.html"); } /* elseif(ereg("credit",$HTTP_HOST)){ header("Location: credit/"); } else{ header("Location: ns/"); } */ ?>