1. 首页
  2. 数据库
  3. 其它
  4. php/js获取客户端mac地址的实现代码

php/js获取客户端mac地址的实现代码

上传者: 2020-12-21 18:32:29上传 PDF文件 41.45KB 热度 11次
废话不多讲,直接上代码吧! 复制代码 代码如下:<?php class MacAddr { public $returnArray = array(); public $macAddr; function __contruct($os_type=null){ if(is_null($os_type)) $os_type = PHP_OS; switch (strtolower($os_type)){ case “linux”: $this->forLinux();
用户评论