ZKTeco SDK for Php / Javascript

时间:2018-09-04 10:29:10

标签: javascript php sdk

我有Zkteco品牌的出勤管理设备

https://www.helptechco.com/content/K20

我需要Php或Javascript SDK,

我尝试了一些sdk,例如tad-php,zklib,但是还没有成功

预先感谢

1 个答案:

答案 0 :(得分:1)

该SDK TAD/PHP为我工作。步骤是-

  1. 编辑您的 php.ini 并启用以下扩展名(从前面删除';')并重新启动apache

    #IfWinActive ahk_class Notepad F1:: explorer_path := "" ; empty variable IfWinNotExist ahk_class CabinetWClass ; explorer return ; do nothing ; otherwise: ; https://autohotkey.com/boards/viewtopic.php?p=28751#p28751 ; get the path of the first explorer window: for window in ComObjCreate("Shell.Application").Windows { try explorer_path := window.Document.Folder.Self.Path break } ; MsgBox, %explorer_path% Send, ^s ; save the new document ; wait for the Save As window and activate it WinWait, Save As ahk_class #32770 WinActivate, Save As ahk_class #32770 WinWaitActive, Save As ahk_class #32770 ; open the folder "explorer_path" in Save As SendInput, %explorer_path% Sleep, 300 Send, {Enter} return #IfWinActive

  2. 然后通过 TCP / IP 将设备与PC连接。例如-

      

    IP地址(PC)= 192.168.1.202
      默认网关(PC)= 192.168.1.201
      IP地址(设备)= 192.168.1.203

  3. 然后按照 TAD / PHP 中的自述文件文件并按照给定的说明进行连接。例如-g-

    extension=soap extension=sockets