我尝试使用此代码获取 MAC ID,但我仅获取主机服务器地址,是否有任何方法可以获取用户访问我的网站的计算机的唯一 ID。
ob_start();
system('ipconfig /all');
$mycom=ob_get_contents();
ob_clean();
$findme = "Physical";
$pmac = strpos($mycom, $findme);
$mac=substr($mycom,($pmac+36),17);
echo $mac;
实际上,我需要知道是否可以根据除 IP 之外的 PC 中的特定内容来限制对特定网站的访问?