我正在使用PHP和MySQL的考勤应用程序,我想通过直接从指纹设备获得所有数据自动考勤过程,并通过PHP脚本导入到MySQL数据库。
我搜索了一下,发现了一个使用PHP通过设备IP (Link)检索数据的脚本:
$ cd your_repo_root/repo_name
$ git fetch origin
$ git checkout gh-pages问题是数据看起来杂乱无章,不完整,而且通过库函数进行了大量的解密。
我也尝试了卷曲,但它不起作用(Link):
$number="";
for($i=1;$i<=100;$i++){
$number.=($i.",");
}
$number=substr($number,0,strlen($number)-1);
$url = "http://192.168.2.201/form/Download?uid=".$number."&sdate=2013-09-10&edate=2013-09-10";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$server_output = curl_exec ($ch);
curl_close ($ch);
$data = array();
$record = explode("\n",$server_output);
foreach($record as $r){
$r = str_replace("\t"," ",$r);
$isi = explode(" ",$r);
array_push($data, $isi);
}
print_r($data);有没有其他方法可以通过PHP从指纹中获取所有数据,因为设备提供商不会为它提供任何PHP SDK。
指纹类型: Granding
可用的SDK: C#和ASP.NET
发布于 2017-08-31 01:19:28
通过PHP处理生物识别机器是可能的。在Quora中有一个类似问题的答案:
Can we integrate bio-metric attendance system with php?
根据这一点,您可以配置一个互联网URL,您可以在其中处理考勤数据。
发布于 2015-01-23 20:56:29
除了授权指纹设备(zk7000),我也遇到了类似的困难,php脚本对我不起作用。你可以试试支持php集成的bio-plugin,它在我的系统中运行良好。
https://stackoverflow.com/questions/28044042
复制相似问题