PHP判断是否在某个软件打开 以快手为例: index.php <?php $regex_match="/(Kwai|AllowKsCallApp)/i"; if (!preg_match($regex_match,strtolower($_SERVER['HTTP_USER_AGENT']))){ ?>