指定のドメインでなければ処理終了
//指定のドメインでなければ処理終了
if($_SERVER['HTTP_HOST']!='xxxxxx.com') {
    exit(1);
}
カテゴリーphp